mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-17 02:22:17 +00:00
FIX: font of object list
Change-Id: Ifb198a8b6af89ee9a089d88d98d495821b5fce7e
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user