mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-12 01:07:57 -06:00
use smaller font for codes
This commit is contained in:
parent
3d7c45c6dc
commit
e3a85e2b33
1 changed files with 2 additions and 2 deletions
|
@ -3085,7 +3085,7 @@ void GUI_App::init_fonts()
|
||||||
// wxSYS_OEM_FIXED_FONT and wxSYS_ANSI_FIXED_FONT use the same as
|
// wxSYS_OEM_FIXED_FONT and wxSYS_ANSI_FIXED_FONT use the same as
|
||||||
// DEFAULT in wxGtk. Use the TELETYPE family as a work-around
|
// DEFAULT in wxGtk. Use the TELETYPE family as a work-around
|
||||||
m_code_font = wxFont(wxFontInfo().Family(wxFONTFAMILY_TELETYPE));
|
m_code_font = wxFont(wxFontInfo().Family(wxFONTFAMILY_TELETYPE));
|
||||||
m_code_font.SetPointSize(m_normal_font.GetPointSize());
|
m_code_font.SetPointSize(m_small_font.GetPointSize());
|
||||||
}
|
}
|
||||||
|
|
||||||
void GUI_App::update_fonts(const MainFrame *main_frame)
|
void GUI_App::update_fonts(const MainFrame *main_frame)
|
||||||
|
@ -3102,7 +3102,7 @@ void GUI_App::update_fonts(const MainFrame *main_frame)
|
||||||
m_bold_font = m_normal_font.Bold();
|
m_bold_font = m_normal_font.Bold();
|
||||||
m_link_font = m_bold_font.Underlined();
|
m_link_font = m_bold_font.Underlined();
|
||||||
m_em_unit = main_frame->em_unit();
|
m_em_unit = main_frame->em_unit();
|
||||||
m_code_font.SetPointSize(m_normal_font.GetPointSize());
|
m_code_font.SetPointSize(m_small_font.GetPointSize());
|
||||||
}
|
}
|
||||||
|
|
||||||
void GUI_App::set_label_clr_modified(const wxColour& clr)
|
void GUI_App::set_label_clr_modified(const wxColour& clr)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue