Skip to content

Commit 77c0882

Browse files
author
timlinux
committedNov 27, 2006
Force tab bar scrolling on mac. For me it doesnt make the scroll icons appear but at least teh tabbar doesnt autoexpand any more
git-svn-id: http://svn.osgeo.org/qgis/trunk@6129 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent 54ddd76 commit 77c0882

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed
 

‎src/gui/qgslabeldialog.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222

2323
#include <QColorDialog>
2424
#include <QFontDialog>
25+
#include <QTabWidget>
2526

2627

2728
const int PIXMAP_WIDTH = 200;
@@ -62,6 +63,8 @@ QgsLabelDialog::QgsLabelDialog ( QgsLabel *label, QWidget *parent )
6263
this, SLOT(changeBufferColor()) );
6364
connect( pbnDefaultFontColor, SIGNAL(clicked()),
6465
this, SLOT(changeFontColor()) );
66+
//added by Tim to force scrolling of tab bar on Mac
67+
tabWidget2->setUsesScrollButtons(true);
6568
}
6669

6770

0 commit comments

Comments
 (0)
Please sign in to comment.