mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-20 11:53:48 +00:00
FIX: Revert unintended font size change in official picker dialog
jira: STUDIO-13152 Change-Id: Ic3f26359a089a4cd1369fd2f06f450c4ae540634 (cherry picked from commit fdfd5fd479573f6f7871600f5a9b442cb13c8c68)
This commit is contained in:
@@ -244,17 +244,12 @@ wxBoxSizer* FilamentPickerDialog::CreateInfoSection()
|
|||||||
wxFont bold_font = m_label_preview_color->GetFont();
|
wxFont bold_font = m_label_preview_color->GetFont();
|
||||||
bold_font.SetWeight(wxFONTWEIGHT_BOLD);
|
bold_font.SetWeight(wxFONTWEIGHT_BOLD);
|
||||||
#ifdef __WXMSW__
|
#ifdef __WXMSW__
|
||||||
bold_font.SetPointSize(FromDIP(9));
|
bold_font.SetPointSize(FromDIP(8));
|
||||||
#endif
|
#endif
|
||||||
m_label_preview_color->SetFont(bold_font);
|
m_label_preview_color->SetFont(bold_font);
|
||||||
m_label_preview_idx->SetFont(bold_font);
|
m_label_preview_idx->SetFont(bold_font);
|
||||||
|
|
||||||
m_label_preview_type->SetForegroundColour(wxColour(128, 128, 128));
|
m_label_preview_type->SetForegroundColour(wxColour(128, 128, 128));
|
||||||
#ifdef __WXMSW__
|
|
||||||
wxFont type_font = m_label_preview_type->GetFont();
|
|
||||||
type_font.SetPointSize(FromDIP(8));
|
|
||||||
m_label_preview_type->SetFont(type_font);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// Layout with platform-specific spacing
|
// Layout with platform-specific spacing
|
||||||
#ifdef __WXMSW__
|
#ifdef __WXMSW__
|
||||||
|
|||||||
Reference in New Issue
Block a user