octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #44683] wrong vertical bottom alignment of mul


From: Fabio
Subject: [Octave-bug-tracker] [bug #44683] wrong vertical bottom alignment of multiline text boxes
Date: Wed, 01 Apr 2015 08:40:37 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Firefox/31.0

URL:
  <http://savannah.gnu.org/bugs/?44683>

                 Summary: wrong vertical bottom alignment of multiline text
boxes
                 Project: GNU Octave
            Submitted by: efferre79
            Submitted on: Wed 01 Apr 2015 08:40:36 AM GMT
                Category: Plotting
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Incorrect Result
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 3.8.2
        Operating System: GNU/Linux

    _______________________________________________________

Details:

I have found a problem with the vertical alignment of a multiline text box.
Here is the simple code to show the problem:

t = 0:.1:2;
plot(t,ones(1,length(t)))
text(0.5,1,sprintf('multiline text\nwith bottom
alignment'),'verticalalignment','bottom')
text(1.5,1,sprintf('multiline text\nwith top
alignment'),'verticalalignment','top')

You can see that in the bottom alignment case the text box is aligned
referencing to the first line




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?44683>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]