https://bugs.documentfoundation.org/show_bug.cgi?id=165507

--- Comment #14 from Shai Berger <[email protected]> ---
(In reply to Jonathan Clark from comment #13)
> (In reply to Eyal Rozenberg from comment #12)
> > (In reply to Eyal Rozenberg from comment #11)
> > > And of course we need buttons for the different paragraph alignments.
> > 
> > Just to clarify - we need buttons, but not all of them need to be on the
> > toolbar by default. We'll definitely have the 6 buttons _available_.
> In your suggestion, what would happen to the Align Start and Align End
> buttons when you switch between LTR and RTL contexts? Would they swap places
> on the toolbar somehow? Or would the icons only mirror?

I see two ways to handle this.

One is a boolean control which modifies the sense of the (existing) alignment
Left and Right buttons, to be direction-sensitive. When it's off, things are
like now; when it's on, the buttons choose Start or End according to the
direction of the paragraph. Then we don't have to switch directions or mirror
anything, and we can also translate back from the style of an existing
paragraph to the state of buttons on the toolbar.

The other -- less elegant, but probably easier to do, and I thought of it
first, so I might as well record it here -- is to put the Start/End buttons in
a toolbar sub-menu (like the one for spacing). Then we only need to show them
with a specific paragraph as context, so we can pick the right icon; and we're
free to position them one above the other, so no need to switch places.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Reply via email to