Skip to content

Commit

Permalink
Give service name a little more space so usual names fit.
Browse files Browse the repository at this point in the history
  • Loading branch information
Kjell Morgenstern authored and KjellMorgenstern committed Dec 12, 2023
1 parent 7fad592 commit 6716653
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/sketch/welcomeview.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -163,8 +163,8 @@ CustomListItem::CustomListItem(const QString &leftText, const QIcon &leftIcon, c
rightButton->setPalette(buttonPalette);

int scrollbarWidth = this->style()->pixelMetric(QStyle::PM_ScrollBarExtent);
int leftButtonWidth = static_cast<int>((listWidgetWidth - scrollbarWidth) * 0.75);
int rightButtonWidth = static_cast<int>((listWidgetWidth - scrollbarWidth) * 0.25);
int leftButtonWidth = static_cast<int>((listWidgetWidth - scrollbarWidth) * 0.7);
int rightButtonWidth = static_cast<int>((listWidgetWidth - scrollbarWidth) * 0.3);

leftButton->setFixedWidth(leftButtonWidth);
rightButton->setFixedWidth(rightButtonWidth);
Expand Down

0 comments on commit 6716653

Please sign in to comment.