mirror of
https://git.mirrors.martin98.com/https://github.com/SoftFever/OrcaSlicer.git
synced 2025-08-16 11:55:54 +08:00
use smaller font for codes
This commit is contained in:
parent
3d7c45c6dc
commit
e3a85e2b33
@ -3085,7 +3085,7 @@ void GUI_App::init_fonts()
|
||||
// wxSYS_OEM_FIXED_FONT and wxSYS_ANSI_FIXED_FONT use the same as
|
||||
// DEFAULT in wxGtk. Use the TELETYPE family as a work-around
|
||||
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)
|
||||
@ -3102,7 +3102,7 @@ void GUI_App::update_fonts(const MainFrame *main_frame)
|
||||
m_bold_font = m_normal_font.Bold();
|
||||
m_link_font = m_bold_font.Underlined();
|
||||
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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user