Skip to content
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion data/themes/default/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -494,7 +494,7 @@ SideBar QToolButton:pressed {
}

SideBar QToolButton:checked {
background: none;
background: qlineargradient(spread:reflect, x1:0, y1:0, x2:0, y2:1, stop:0 #4b525b, stop:1 #2f333a);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@BaraMGB code style formatting... You've used spaces instead of a tab.

border: none;
font-size: 12px;
}
Expand Down
3 changes: 2 additions & 1 deletion src/gui/widgets/SideBar.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,9 @@ SideBar::~SideBar()
void SideBar::appendTab( SideBarWidget *widget )
{
SideBarButton *button = new SideBarButton( orientation(), this );
button->setText( widget->title() );
button->setText( " " + widget->title() );
button->setIcon( widget->icon() );
button->setLayoutDirection( Qt::RightToLeft );
button->setCheckable( true );
m_widgets[button] = widget;
m_btnGroup.addButton( button );
Expand Down