diff options
Diffstat (limited to 'desktop-widgets/groupedlineedit.cpp')
-rw-r--r-- | desktop-widgets/groupedlineedit.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/desktop-widgets/groupedlineedit.cpp b/desktop-widgets/groupedlineedit.cpp index 9ce5e175c..68f53d79e 100644 --- a/desktop-widgets/groupedlineedit.cpp +++ b/desktop-widgets/groupedlineedit.cpp @@ -139,9 +139,9 @@ QSize GroupedLineEdit::sizeHint() const { QSize rs( 40, - document()->findBlock(0).layout()->lineAt(0).height() + + lrint(document()->findBlock(0).layout()->lineAt(0).height() + document()->documentMargin() * 2 + - frameWidth() * 2); + frameWidth() * 2)); return rs; } |