diff --git a/src/frontends/qt/FloatPlacement.cpp b/src/frontends/qt/FloatPlacement.cpp index c11d457827..aa0548170f 100644 --- a/src/frontends/qt/FloatPlacement.cpp +++ b/src/frontends/qt/FloatPlacement.cpp @@ -346,7 +346,7 @@ bool FloatPlacement::checkWidgets(bool readonly) const if (readonly) { floatTypeCO->setEnabled(false); placementCO->setEnabled(false); - aligmentGB->setEnabled(false); + alignmentGB->setEnabled(false); spanCB->setEnabled(false); sidewaysCB->setEnabled(false); } else diff --git a/src/frontends/qt/ui/FloatPlacementUi.ui b/src/frontends/qt/ui/FloatPlacementUi.ui index e1790da2d6..30bce337ec 100644 --- a/src/frontends/qt/ui/FloatPlacementUi.ui +++ b/src/frontends/qt/ui/FloatPlacementUi.ui @@ -65,7 +65,7 @@ - + Alignment of Contents @@ -88,6 +88,16 @@ 6 + + + + Right-align float contents + + + &Right + + + @@ -98,13 +108,13 @@ - - + + - Left-align float contents + Use the class' default alignment for floats, whatever it is. - &Left + Class &Default @@ -118,25 +128,28 @@ - - + + - Right-align float contents + Left-align float contents - &Right + &Left - - - - Use the class' default alignment for floats, whatever it is. + + + + Qt::Horizontal - - Class &Default + + + 40 + 20 + - +