mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-08 23:46:24 -06:00
FIX: font of object list
Change-Id: Ifb198a8b6af89ee9a089d88d98d495821b5fce7e
This commit is contained in:
parent
b96ca57fde
commit
21d13646d8
5 changed files with 23 additions and 4 deletions
|
@ -171,7 +171,10 @@ wxSize BitmapTextRenderer::GetSize() const
|
|||
}
|
||||
else
|
||||
#endif // SUPPORTS_MARKUP && wxHAS_GENERIC_DATAVIEWCTRL
|
||||
{
|
||||
size = GetTextExtent(m_value.GetText());
|
||||
size.x = size.x * 9 / 8;
|
||||
}
|
||||
|
||||
if (m_value.GetBitmap().IsOk())
|
||||
size.x += m_value.GetBitmap().GetWidth() + 4;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue