SideBarButton set text below the icon (#3256)
* SideBarButton set text below the icon * change color of checked sidebarbutton * adds a space to the sideBarButton title * add gradient to checked side bar button * whitespaces
This commit is contained in:
committed by
Tres Finocchiaro
parent
9e85d7c66e
commit
3070cec1ba
@@ -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 );
|
||||
|
||||
Reference in New Issue
Block a user