Changed sidebar controls layout
This commit is contained in:
parent
ef7512fc43
commit
2e14f3456e
5 changed files with 98 additions and 58 deletions
src/slic3r/GUI
|
@ -2375,8 +2375,8 @@ void PrusaModeButton::SetState(const bool state)
|
|||
|
||||
void PrusaModeButton::focus_button(const bool focus)
|
||||
{
|
||||
const wxBitmap& bmp = focus ? m_bmp_on : m_bmp_off;
|
||||
SetBitmap(bmp);
|
||||
// const wxBitmap& bmp = focus ? m_bmp_on : m_bmp_off;
|
||||
// SetBitmap(bmp);
|
||||
const wxFont& new_font = focus ? Slic3r::GUI::wxGetApp().bold_font() : Slic3r::GUI::wxGetApp().small_font();
|
||||
SetFont(new_font);
|
||||
|
||||
|
@ -2390,7 +2390,7 @@ void PrusaModeButton::focus_button(const bool focus)
|
|||
// ----------------------------------------------------------------------------
|
||||
|
||||
PrusaModeSizer::PrusaModeSizer(wxWindow *parent) :
|
||||
wxFlexGridSizer(3, 0, 5)
|
||||
wxFlexGridSizer(3, 0, 2* Slic3r::GUI::wxGetApp().em_unit()/*5*/)
|
||||
{
|
||||
SetFlexibleDirection(wxHORIZONTAL);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue