mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-07-27 21:02:23 +00:00
Fix wx issues from upgrade (#3032)
* fix top bar resizing
* Attempt to fix bitmap bundle scaling issues
* Revert "Attempt to fix bitmap bundle scaling issues"
This reverts commit e94ba58d90.
* Fix AboutDialog and partially fix SwitchButton
* Fix switch button scaling on windows
* Fix dropdown icon size
* fixed sdcard/recording/timelapse icon size in device page
* Set use_legacy_bmp to true by default to it's back compatible
---------
Co-authored-by: Noisyfox <timemanager.rick@gmail.com>
Co-authored-by: SoftFever <softfeverever@gmail.com>
This commit is contained in:
@@ -8,10 +8,11 @@ class TextInput : public wxNavigationEnabled<StaticBox>
|
||||
{
|
||||
|
||||
wxSize labelSize;
|
||||
ScalableBitmap icon;
|
||||
wxBitmapBundle icon;
|
||||
ScalableBitmap drop_down_icon;
|
||||
StateColor label_color;
|
||||
StateColor text_color;
|
||||
wxTextCtrl * text_ctrl;
|
||||
wxTextCtrl* text_ctrl{nullptr};
|
||||
|
||||
static const int TextInputWidth = 200;
|
||||
static const int TextInputHeight = 50;
|
||||
|
||||
Reference in New Issue
Block a user