Review change - Rectangular buttons
Give the reset buttons for auto save and buffer size a rectangular shape. The size is fixed but the button and the pixmap scale with different scaling factors so that should be ok.
This commit is contained in:
@@ -372,6 +372,7 @@ SetupDialog::SetupDialog(ConfigTabs tab_to_open) :
|
||||
this, SLOT(setAutoSaveInterval(int)));
|
||||
|
||||
auto autoSaveResetBtn = new QPushButton(embed::getIconPixmap("reload"), "", autoSaveBox);
|
||||
autoSaveResetBtn->setFixedSize(32, 32);
|
||||
connect(autoSaveResetBtn, SIGNAL(clicked()),
|
||||
this, SLOT(resetAutoSave()));
|
||||
|
||||
@@ -575,6 +576,7 @@ SetupDialog::SetupDialog(ConfigTabs tab_to_open) :
|
||||
bufferSizeSubLayout->addWidget(m_bufferSizeSlider, 1);
|
||||
|
||||
auto bufferSize_reset_btn = new QPushButton(embed::getIconPixmap("reload"), "", bufferSizeBox);
|
||||
bufferSize_reset_btn->setFixedSize(32, 32);
|
||||
connect(bufferSize_reset_btn, SIGNAL(clicked()),
|
||||
this, SLOT(resetBufferSize()));
|
||||
bufferSize_reset_btn->setToolTip(
|
||||
|
||||
Reference in New Issue
Block a user