https://bugs.freedesktop.org/show_bug.cgi?id=56190

          Priority: medium
            Bug ID: 56190
          Assignee: [email protected]
           Summary: FORMATTING: idiosyncratic centring of text in text box
          Severity: minor
    Classification: Unclassified
                OS: Linux (All)
          Reporter: [email protected]
          Hardware: x86-64 (AMD64)
            Status: UNCONFIRMED
           Version: unspecified
         Component: Drawing
           Product: LibreOffice

Created attachment 68807
  --> https://bugs.freedesktop.org/attachment.cgi?id=68807&action=edit
LibreOffice .odg file giving examples of the behaviour described

Maybe this is a "feature" rather than a bug, but it doesn't seem right.

I create a rectangle in LibreOffice Draw, then create a text box of the same
size to sit on top of it.  If I then type a series of non-wrapped lines into
the text box, and afterwards centre the entire text, the text will be centred
both within the text box and the rectangle.  Good: that's as intended.

If, however, I type a long piece of text into the text box, which wraps within
its fixed width, and again centre the text afterwards, the text will be
off-centre to the left.  It looks to me as though the longest fragment of text
is locked to the left-hand edge of the text box, and the rest of the text in
the box is centred according to that.  Not good; but the text box can be moved
to make the text properly centred within the rectangle, so it's not a disaster.

One step further: if I take the text from the second case above, and *insert*
line breaks in order to make each line fit within the width of the text box,
then the text stays centred as before.  Very idiosyncratic, and not very
intuitive.

I attach a LibreOffice .odg file which shows these three cases.

I am using 3.4.4 OOO340m1 (Build:402), running it on Linux Mint "Lisa" (kernel
3.0.0-12-generic.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to