From 81d2d239c399fe864cb1d88d606065312f930e8b Mon Sep 17 00:00:00 2001 From: Abdelrazak Younes Date: Mon, 1 Mar 2010 09:03:15 +0000 Subject: [PATCH] Document Settings: fix Float placement dialog. The float type is not needed here. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33602 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/frontends/qt4/FloatPlacement.cpp | 2 + src/frontends/qt4/ui/FloatPlacementUi.ui | 52 ++++++++---------------- 2 files changed, 19 insertions(+), 35 deletions(-) diff --git a/src/frontends/qt4/FloatPlacement.cpp b/src/frontends/qt4/FloatPlacement.cpp index c40b3b2ec7..3035d9ba70 100644 --- a/src/frontends/qt4/FloatPlacement.cpp +++ b/src/frontends/qt4/FloatPlacement.cpp @@ -44,6 +44,8 @@ FloatPlacement::FloatPlacement(bool show_options, QWidget * parent) connect(spanCB, SIGNAL(clicked()), this, SLOT(changedSlot())); connect(sidewaysCB, SIGNAL(clicked()), this, SLOT(changedSlot())); + floatTypeTitle->setVisible(show_options); + floatTypeCO->setVisible(show_options); spanCB->setVisible(show_options); sidewaysCB->setVisible(show_options); } diff --git a/src/frontends/qt4/ui/FloatPlacementUi.ui b/src/frontends/qt4/ui/FloatPlacementUi.ui index 8bc352b30a..a3cbd804ec 100644 --- a/src/frontends/qt4/ui/FloatPlacementUi.ui +++ b/src/frontends/qt4/ui/FloatPlacementUi.ui @@ -14,41 +14,36 @@ - + + + Float Type: + + + + + + + + Qt::Horizontal - - - Float Type: - - - - - - - - - - - Qt::Vertical - - 20 + 40 20 - + Use &default placement - + Advanced Placement Options @@ -105,34 +100,21 @@ - - - - Qt::Horizontal - - - - 12 - 20 - - - - - + &Span columns - + &Rotate sideways - + Qt::Vertical