Helge Hafting wrote:
Abdelrazak Younes wrote:
Edwin Leuven wrote:
that is a question of ui design and is orthogonal to what i am proposing. i think for this there should be a reset button...

This is a sensible suggestion IMHO. As we all agree that "Default" is somewhat a different setting than the others a UI like this will have the
Again - default being "different" does not force us to use
a different UI for it. The word itself is different - I think that is
enough.

Then why are we all discussing this issue then ? ;-)

best of both worlds: one click for changing alignment and also one click for resetting the alignment (which will also set the radio button
Clicking a "reset" button isn't more work.  Still, it seem like an odd
way of doing this - pressing a reset button instead of simply
setting the alignment to "default". Default being "different" isn't
an argument for this arrangement - so why?  It is confusing -

Confusing to you because you know LateX. I reckon that most users won't see the similarity that you see.

is that
reset button for resetting the radio buttons or for something else?

Depends on the dialog. For now, the dialog is modal and the new alignment won't show immediately on screen, so the button would be only for resettings the radio buttons at first and the in-text paragraph alignment as soon as you click [Apply]. In the future, when we cleanup the paragraph controller, it would be for both resetting the alignment and the radio buttons.


Having another radiobutton named "default" makes this obvious.

Hence this discussion ;-)

It sets the layout to "default" instead of the other choices.
"Default" is a different kind of word than middle/right/left, so that
makes the radiobutton sufficiently "special".  There is no need to
use a different UI to mark its special status.  The status _can_ be
marked with a separator bar, a little extra distance from the other
buttons, or font emphasizing.
automatically to the default one). So 4 radio buttons and one push button is the way to go IMHO:

o Justified (Default)
o Left
o Center
o Right

[Reset Layout]
I guess you meant [Reset alignment] as the layout have other
parameters as well?

Yes, sorry.


This arrangement don't seem to differentiate between
justified (or whatever) by default, and
justified (or whatever) set explicitly so it won't change over a layout change.

Default as a radio button allows that however.

Now, if the point is to show which setting that currently is
default, how about going the other way?  Instead of printing
"default" next to the default setting, print the setting name
next to "default" button.

5 button selection:

o default (justified)
o justified
o right
o center
o left

If the layout is then changed to "Title", then the box
will say

o default (center)
o justified
o right
o center
o left

This way yoe see clearly whether the alignemnt is explicit
or at its default - and everything (including default) can be set
with a single click. No confusion as to what any extra button does.

This is a good alternative of course but I still prefer the other one (with the button) :-)

Abdel.

Reply via email to