mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-15 01:22:07 +00:00
Windows specific: Fixes layout issues on plater, short BitmapComboBoxes
with some Windows scaling, see GH issue #7414. The issue was most likely due to the initial main frame size generated by Windows based on some unknown rule based on font scaling and possibly display size and something else. If the initial window height is short, then the last controls in a "rubbery" sizer are trimmed and wxBitmapComboBoxes then remember the initial widget size indefinietly.
This commit is contained in:
@@ -223,6 +223,9 @@ ObjectInfo::ObjectInfo(wxWindow *parent) :
|
||||
Add(sizer_manifold, 0, wxEXPAND | wxTOP, 4);
|
||||
|
||||
sla_hidden_items = { label_volume, info_volume, /*label_materials, info_materials*/ };
|
||||
|
||||
// Fixes layout issues on plater, short BitmapComboBoxes with some Windows scaling, see GH issue #7414.
|
||||
this->Show(false);
|
||||
}
|
||||
|
||||
void ObjectInfo::show_sizer(bool show)
|
||||
|
||||
Reference in New Issue
Block a user