]> git.lyx.org Git - features.git/commitdiff
Fix height of paragraph dialog
authorJuergen Spitzmueller <spitz@lyx.org>
Mon, 24 Dec 2018 15:48:22 +0000 (16:48 +0100)
committerJuergen Spitzmueller <spitz@lyx.org>
Mon, 24 Dec 2018 15:48:22 +0000 (16:48 +0100)
Patch by Daniel Ramöller (racoon)

src/frontends/qt4/GuiParagraph.cpp

index 49338392cc6e6133c4f43adb80c53d4706ad5b25..ab6c9aef8b671cee8386a098c0244fb547c88b0b 100644 (file)
@@ -50,6 +50,9 @@ GuiParagraph::GuiParagraph(GuiView & lv)
 {
        setupUi(this);
 
+       // fix height to minimum
+       setFixedHeight(sizeHint().height());
+
        connect(alignDefaultRB, SIGNAL(clicked()), this, SLOT(changed()));
        connect(alignJustRB, SIGNAL(clicked()), this, SLOT(changed()));
        connect(alignLeftRB, SIGNAL(clicked()), this, SLOT(changed()));