Enrico Forestieri wrote: > What about "Enspace (kern 0.5 em)", maybe placed after QQuad, such that > the casual user would choose "Enskip (0.5 em)", which comes first? > The expert user would be informed that this is a kern spacing, so that he > knows that this could also be a vertical space in some circumstances, > whereas a non-expert user would understand that this is something special, > even if he doesn't know in what respect. It is a pity that a tool-tip > cannot be attached to the combobox entries...
We try to avoid LaTeXisms in the GUI, and I think this hint is too covert. I also think terms like "qquad" should be replaced by "double quad". What about the attached? Jürgen
Index: lib/ui/stdcontext.inc =================================================================== --- lib/ui/stdcontext.inc (Revision 24072) +++ lib/ui/stdcontext.inc (Arbeitskopie) @@ -149,11 +149,11 @@ Item "Interword Space|w" "next-inset-modify space \space{}" Item "Protected Space|o" "next-inset-modify space ~" Item "Thin Space|T" "next-inset-modify space \thinspace{}" + Item "Negative Thin Space|N" "next-inset-modify space \negthinspace{}" + Item "Half Quad Space (Enskip)|k" "next-inset-modify space \enskip{}" + Item "Protected Half Quad Space (Enspace)|E" "next-inset-modify space \enspace{}" Item "Quad Space|Q" "next-inset-modify space \quad{}" - Item "QQuad Space|u" "next-inset-modify space \qquad{}" - Item "Enspace|E" "next-inset-modify space \enspace{}" - Item "Enskip|k" "next-inset-modify space \enskip{}" - Item "Negative Thin Space|N" "next-inset-modify space \negthinspace{}" + Item "Double Quad Space|u" "next-inset-modify space \qquad{}" Item "Horizontal Fill|F" "next-inset-modify space \hfill{}" Item "Protected Horizontal Fill|i" "next-inset-modify space \hspace*{\fill}" Item "Horizontal Fill (Dots)|D" "next-inset-modify space \dotfill{}" Index: src/frontends/qt4/ui/HSpaceUi.ui =================================================================== --- src/frontends/qt4/ui/HSpaceUi.ui (Revision 24072) +++ src/frontends/qt4/ui/HSpaceUi.ui (Arbeitskopie) @@ -76,7 +76,7 @@ </item> <item> <property name="text" > - <string>Enspace (0.5 em)</string> + <string>Half Quad (0.5 em)</string> </property> </item> <item> @@ -86,7 +86,7 @@ </item> <item> <property name="text" > - <string>QQuad (2 em)</string> + <string>Double Quad (2 em)</string> </property> </item> <item> Index: src/frontends/qt4/GuiHSpace.cpp =================================================================== --- src/frontends/qt4/GuiHSpace.cpp (Revision 24072) +++ src/frontends/qt4/GuiHSpace.cpp (Arbeitskopie) @@ -96,6 +96,12 @@ selection == 0 || selection == 3 || (selection == 6 && pattern == 0) || selection == 7; keepCB->setEnabled(enable_keep); + if (selection == 3) + keepCB->setToolTip(qt_("Insert the spacing even after a line break.\n" + "Note that a protected Half Quad will be turned into\n" + "a vertical space if used at the beginning of a paragraph!")); + else + keepCB->setToolTip(qt_("Insert the spacing even after a line break")); changed(); }