MessageDialog: Set html page size respecting to text size

+ Fixed layout of the unit in "Height ranges" panel
This commit is contained in:
YuSanka 2021-08-06 15:08:11 +02:00
parent d543d2f29d
commit b1330580b3
2 changed files with 30 additions and 7 deletions

View file

@ -145,7 +145,7 @@ wxSizer* ObjectLayers::create_layer(const t_layer_height_range& range, PlusMinus
auto temp = new wxStaticText(m_parent, wxID_ANY, _L("mm"));
temp->SetBackgroundStyle(wxBG_STYLE_PAINT);
temp->SetFont(wxGetApp().normal_font());
sizer->Add(temp, 0, wxLEFT, wxGetApp().em_unit());
sizer->Add(temp, 0, wxLEFT | wxALIGN_CENTER_VERTICAL, wxGetApp().em_unit());
m_grid_sizer->Add(sizer);