refactor: fix some spelling mistakes (#6196)
This commit is contained in:
@@ -15,11 +15,11 @@ public:
|
||||
{
|
||||
if (this->vertical_)
|
||||
{
|
||||
this->setScaleIndependantWidth(8);
|
||||
this->setScaleIndependentWidth(8);
|
||||
}
|
||||
else
|
||||
{
|
||||
this->setScaleIndependantHeight(8);
|
||||
this->setScaleIndependentHeight(8);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@ OverlayInteraction::OverlayInteraction(OverlayWindow *parent)
|
||||
this->interactAnimation_.setEndValue(1.0);
|
||||
|
||||
this->closeButton_.setButtonStyle(TitleBarButtonStyle::Close);
|
||||
this->closeButton_.setScaleIndependantSize(46, 30);
|
||||
this->closeButton_.setScaleIndependentSize(46, 30);
|
||||
this->closeButton_.hide();
|
||||
this->closeButton_.setCursor(Qt::PointingHandCursor);
|
||||
}
|
||||
|
||||
@@ -82,16 +82,16 @@ void TitleBarButtons::updateMaxButton()
|
||||
|
||||
void TitleBarButtons::setSmallSize()
|
||||
{
|
||||
this->minButton_->setScaleIndependantSize(30, 30);
|
||||
this->maxButton_->setScaleIndependantSize(30, 30);
|
||||
this->closeButton_->setScaleIndependantSize(30, 30);
|
||||
this->minButton_->setScaleIndependentSize(30, 30);
|
||||
this->maxButton_->setScaleIndependentSize(30, 30);
|
||||
this->closeButton_->setScaleIndependentSize(30, 30);
|
||||
}
|
||||
|
||||
void TitleBarButtons::setRegularSize()
|
||||
{
|
||||
this->minButton_->setScaleIndependantSize(46, 30);
|
||||
this->maxButton_->setScaleIndependantSize(46, 30);
|
||||
this->closeButton_->setScaleIndependantSize(46, 30);
|
||||
this->minButton_->setScaleIndependentSize(46, 30);
|
||||
this->maxButton_->setScaleIndependentSize(46, 30);
|
||||
this->closeButton_->setScaleIndependentSize(46, 30);
|
||||
}
|
||||
|
||||
TitleBarButton *TitleBarButtons::buttonForHt(size_t ht) const
|
||||
|
||||
Reference in New Issue
Block a user