Skip to content

Commit

Permalink
Don't stretch tabs over entire width (GitHub issue libyui#20)
Browse files Browse the repository at this point in the history
  • Loading branch information
shundhammer committed May 19, 2021
1 parent e0eaafa commit ebb1c17
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions libyui-qt/src/YQDumbTab.cc
Expand Up @@ -59,6 +59,7 @@ YQDumbTab::YQDumbTab( YWidget * parent )
Q_CHECK_PTR( _tabBar );

_tabBar->setSizePolicy( QSizePolicy( QSizePolicy::Preferred, QSizePolicy::Preferred ) ); // hor/vert
_tabBar->setExpanding( false );
setFocusProxy( _tabBar );
setFocusPolicy( Qt::TabFocus );

Expand Down

0 comments on commit ebb1c17

Please sign in to comment.