"R. Lahaye" <[EMAIL PROTECTED]> writes:

| At present, there is no such thing as "Default aligment". And in
| fact a paragraph always has one out of the four choices (BLOCK,
| LEFT, RIGHT and CENTER) and that is what shows up in the dialog now.
| 
| Introducing a Default, would need quite some more recoding all over
| the paragraph and paragraph-parameter code. We may possibly need a
| "LYX_ALIGN_DEFAULT", which tells the paragraph that its alignment is
| not overruled by the user's settings. 
| Or does one of the other enums in LyXAlignment refer to such a
| Default setting? 
| 
| It's a good idea to have a "Default" alignment button here, since
| once you've changed the alignment, the dialog doesn't tell you what
| was the original default. 
| Then, a new paragraph should always produce a dialog with Default
| alignment checked. 

The fast solution that will not require any code changes outside the
gui is to add a "Reset to Defaults" button for now. Later, 1.4.0cvs, a
real "Default" button could be added, besides it is nice to know what
the default is as well.

PS. You lines are a bit long, you should make them about 5 chars
shorter to make it easier to quote you without going over 80 chars.

-- 
        Lgb

Reply via email to