translation improvement 5
This commit is contained in:
@@ -8,6 +8,7 @@ ImageSwitch::ImageSwitch(QWidget* parent) : QWidget(parent)
|
||||
{
|
||||
isChecked = false;
|
||||
setButtonStyle(ButtonStyle_1);
|
||||
this->setFixedSize(sizeHint());
|
||||
}
|
||||
|
||||
void ImageSwitch::mousePressEvent(QMouseEvent*)
|
||||
@@ -44,7 +45,7 @@ ImageSwitch::ButtonStyle ImageSwitch::getButtonStyle() const
|
||||
|
||||
QSize ImageSwitch::sizeHint() const
|
||||
{
|
||||
return QSize(220, 64);
|
||||
return QSize(100, 50);
|
||||
}
|
||||
|
||||
QSize ImageSwitch::minimumSizeHint() const
|
||||
|
||||
Reference in New Issue
Block a user