summaryrefslogtreecommitdiff
path: root/libopie2
Side-by-side diff
Diffstat (limited to 'libopie2') (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
@@ -122,4 +122,7 @@ void OTabWidget::addTab( QWidget *child, const QString &icon, const QString &lab
m_tabs.append( tabinfo );
+ // Force resizing of child controls
+ resizeEvent( 0x0 );
+
// Make newly added tab the current one displayed
selectTab( tabinfo );
@@ -168,4 +171,7 @@ void OTabWidget::removePage( QWidget *childwidget )
setUpLayout();
}
+
+ // Force resizing of child controls
+ resizeEvent( 0x0 );
}
}
@@ -209,4 +215,7 @@ void OTabWidget::changeTab( QWidget *widget, const QString &iconset, const QStri
currtab->setIcon( iconset );
+ // Force resizing of child controls
+ resizeEvent( 0x0 );
+
// Redraw widget
setUpLayout();