mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-19 11:23:42 +00:00
GCodeViewer -> Increased size of wxCheckListBoxComboPopup
This commit is contained in:
@@ -214,7 +214,7 @@ wxSize wxCheckListBoxComboPopup::GetAdjustedSize(int minWidth, int prefHeight, i
|
|||||||
max_width = std::max(max_width, 60 + GetTextExtent(GetString(i)).x);
|
max_width = std::max(max_width, 60 + GetTextExtent(GetString(i)).x);
|
||||||
}
|
}
|
||||||
size.SetWidth(max_width);
|
size.SetWidth(max_width);
|
||||||
size.SetHeight(count * GetTextExtent(GetString(0)).y);
|
size.SetHeight(4 + count * (2 + GetTextExtent(GetString(0)).y));
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
size.SetHeight(DefaultHeight);
|
size.SetHeight(DefaultHeight);
|
||||||
|
|||||||
Reference in New Issue
Block a user