Skip to content

Commit

Permalink
less width on custom switch
Browse files Browse the repository at this point in the history
Signed-off-by: KhalilSelyan <[email protected]>
  • Loading branch information
KhalilSelyan committed May 17, 2024
1 parent b3b76b0 commit 7f52ad4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ CustomToggleSwitch::CustomToggleSwitch(QWidget * parent) : QCheckBox(parent), is

QSize CustomToggleSwitch::sizeHint() const
{
return QSize(60, 30); // Preferred size of the toggle switch
return QSize(50, 30); // Preferred size of the toggle switch
}

void CustomToggleSwitch::paintEvent(QPaintEvent *)
Expand Down

0 comments on commit 7f52ad4

Please sign in to comment.