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

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

[Octave-patch-tracker] [patch #8091] Align terminal window contents with


From: Dan Sebald
Subject: [Octave-patch-tracker] [patch #8091] Align terminal window contents with bottom of view
Date: Mon, 24 Jun 2013 01:26:31 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:18.0) Gecko/20100101 Firefox/18.0 SeaMonkey/2.15

URL:
  <http://savannah.gnu.org/patch/?8091>

                 Summary: Align terminal window contents with bottom of view
                 Project: GNU Octave
            Submitted by: sebald
            Submitted on: Mon 24 Jun 2013 01:26:29 AM GMT
                Category: None
                Priority: 5 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

Currently the terminal window in the GUI aligns the text contents with the top
edge of the view.  That sometimes leaves the bottom edge on top of a line
depending upon how the GUI window/app is sized manually.  The result is that
the command line where there is most activity is visually obstructed.

The attached changeset will make the alignment at the bottom.  Basically,
everywhere I saw the top-left corner of the view used directly I changed it to
computing the top indirectly as the bottom minus 2 times the margin minus the
font height times the number of lines.  I had to do some adjusting to find a
good result, but the changeset seems about right.




    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Mon 24 Jun 2013 01:26:29 AM GMT  Name:
octave-terminal_alignment-2013jun23.patch  Size: 3kB   By: sebald

<http://savannah.gnu.org/patch/download.php?file_id=28396>

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/patch/?8091>

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




reply via email to

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