Commit Graph

19 Commits

Author SHA1 Message Date
YuSanka
bd8d58330c Windows specific: Fixed layout of fields inside the OG_CustomCtrl 2020-11-20 17:27:44 +01:00
YuSanka
9044d2f22c Changed layout of the "Machine limits" settings tab 2020-11-18 12:08:09 +01:00
YuSanka
f2d7fd2017 Custom controls : The width for full_width fields is updated according to the custom control width
(thanks to the @supermerill for the mention on it, 6acf6bdf21)

+ Deleted redundant background color, as mentioned in the #5062
2020-11-12 10:13:16 +01:00
YuSanka
dd2799b8d9 Fixed of #5081
Width of sub-label is calculated by using of GetTextExtent() instead of PaintDC->GetMultiLineTextExtent, because of PaintDC is not OK sometimes.
For example on GTK3 PaintDC->IsOk() only, when it's using in a native paint event
see https://github.com/wxWidgets/wxWidgets/blob/master/src/gtk/dc.cpp, line 346
2020-11-11 12:04:15 +01:00
YuSanka
7fe44d6a33 OSX specific : Set top border for the mode buttons, when settings pages has new layouts
(when tabs bar is hidden)

+ Code cleaning for OG_CustomCtrl (delete unused input parameter from the draw_blinking_bmp())
2020-11-06 16:24:03 +01:00
YuSanka
8c358f0477 Hot-fix for my last commit (d576c029bd) 2020-11-04 13:14:57 +01:00
YuSanka
ad6a1823c8 CustomCtrl : fixed correction of the CustomCtrl's line height in respect to the height of the inside controls (fields or widgets)
Issue was appeared on the Ubuntu 20.04
2020-11-04 10:17:32 +01:00
YuSanka
edfca37221 Custom control : Fixed un-hovering for labels, which work as a hyperlinks 2020-11-03 13:40:49 +01:00
YuSanka
e1a8bec636 Hot fit for last commit : use "en" language marker, when "translation_language" wasn't saved to the AppConfig 2020-11-02 06:48:30 -08:00
YuSanka
924ce0b52c Custom control : Bug fixing
* OG_CustomCtrl is inherited from the wxPanel instead of the wxControl now.
  As a result, Tab-key is working now for the fields inside the custom control
* Open localized web-page if any exist for labels

+ Fixed update of icons inside the PresetComboBoxes after switching between Dark/Light modes
2020-11-02 06:48:30 -08:00
YuSanka
380b23eaee Custom control: Fixed bitmaps layout under OSX
+ Implemented hyperlinks for parameters labels to the help page
2020-11-02 06:48:30 -08:00
YuSanka
f7331d553c Custom controls : OSX-specific fix. Get bitmap height in respect to the scaling on Retina 2020-11-02 06:48:30 -08:00
YuSanka
7fbf560ac6 Custom control : Implemented blinking icon 2020-11-02 06:48:30 -08:00
YuSanka
78efa187e3 Custom control : Action buttons are "alive" now
- show tooltips for buttons
- LBtnClick invokes revert functions for the field
2020-11-02 06:48:30 -08:00
YuSanka
819c780401 Custom control : fixed re-scaling for MSW 2020-11-02 06:48:30 -08:00
YuSanka
7a183aaf53 Custom control : Implemented update items visibility in respect to the mode 2020-11-02 06:48:30 -08:00
YuSanka
4c4fc77bda Custom control : Fixed color of the colored label, associated with option, which doesn't have a corresponded field 2020-11-02 06:48:30 -08:00
YuSanka
2bbad43203 Fixed position for all controls from the settings tabs 2020-11-02 06:48:30 -08:00
YuSanka
48bbf1b301 Custom control: first implementation 2020-11-02 06:48:30 -08:00