mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-11 08:47:52 -06:00
First experiment to fix layouts on hdpi
This commit is contained in:
parent
1605c23e25
commit
ba6206ab62
5 changed files with 15 additions and 4 deletions
|
@ -80,6 +80,8 @@ class GUI_App : public wxApp
|
|||
wxFont m_small_font;
|
||||
wxFont m_bold_font;
|
||||
|
||||
size_t m_width_unit;
|
||||
|
||||
wxLocale* m_wxLocale{ nullptr };
|
||||
|
||||
#if ENABLE_IMGUI
|
||||
|
@ -106,6 +108,8 @@ public:
|
|||
|
||||
const wxFont& small_font() { return m_small_font; }
|
||||
const wxFont& bold_font() { return m_bold_font; }
|
||||
size_t width_unit() const { return m_width_unit; }
|
||||
void set_width_unit(const size_t width_unit) { m_width_unit = width_unit; }
|
||||
|
||||
void recreate_GUI();
|
||||
void system_info();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue