summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--libopie2/opieui/otabwidget.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/libopie2/opieui/otabwidget.cpp b/libopie2/opieui/otabwidget.cpp
index d617a9c..7103884 100644
--- a/libopie2/opieui/otabwidget.cpp
+++ b/libopie2/opieui/otabwidget.cpp
@@ -123,2 +123,5 @@ void OTabWidget::addTab( QWidget *child, const QString &icon, const QString &lab
+ // Force resizing of child controls
+ resizeEvent( 0x0 );
+
// Make newly added tab the current one displayed
@@ -169,2 +172,5 @@ void OTabWidget::removePage( QWidget *childwidget )
}
+
+ // Force resizing of child controls
+ resizeEvent( 0x0 );
}
@@ -210,2 +216,5 @@ void OTabWidget::changeTab( QWidget *widget, const QString &iconset, const QStri
+ // Force resizing of child controls
+ resizeEvent( 0x0 );
+
// Redraw widget