diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-10-19 03:21:21 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-10-19 03:21:21 +0000 |
commit | 09b929ee257640d12bba384d5363a6c604e70b46 (patch) | |
tree | 65bcc73a677e4fc80c5e1459217933d60c2a9348 /src/qt_qt_wrapper.cpp | |
parent | 94a5414c7b3366cf894af40079d5ede1c6e17518 (diff) | |
download | gtk-qt-engine-09b929ee257640d12bba384d5363a6c604e70b46.tar.gz gtk-qt-engine-09b929ee257640d12bba384d5363a6c604e70b46.zip |
Fix gtk-qt-engine tab bars
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/gtk-qt-engine@1259596 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/qt_qt_wrapper.cpp')
-rw-r--r-- | src/qt_qt_wrapper.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/qt_qt_wrapper.cpp b/src/qt_qt_wrapper.cpp index 90e060a..3560df1 100644 --- a/src/qt_qt_wrapper.cpp +++ b/src/qt_qt_wrapper.cpp @@ -2120,6 +2120,9 @@ void setRcProperties(GtkRcStyle* rc_style, int forceRecreate) stream << parse_rc_string("GtkButton::inner-border = {0, 0, 0, 0}", "*GtkToolbar*GtkToggleButton*"); stream << parse_rc_string("GtkButton::inner-border = {0, 0, 0, 0}", "*GtkNotebook*GtkButton*"); stream << parse_rc_string("GtkButton::inner-border = {0, 0, 0, 0}", "*GtkNotebook*GtkToggleButton*"); + + // Qt calls them tab boxes, GTK calls them notebooks (!??!?) Either way they are a pain... + stream << parse_rc_string("GtkNotebook::tab-overlap = 1", "*"); // This one may not work... //insertIntProperty(rc_style, "GtkCheckButton", "indicator-size", tqApp->tqstyle().tqpixelMetric(TQStyle::PM_IndicatorHeight) ); |