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

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

[Octave-bug-tracker] [bug #49665] uicontrol with normalized units invali


From: kire pudsje
Subject: [Octave-bug-tracker] [bug #49665] uicontrol with normalized units invalid resize after (un)maximize
Date: Tue, 22 Nov 2016 01:35:30 +0000 (UTC)
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:50.0) Gecko/20100101 Firefox/50.0

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

                 Summary: uicontrol with normalized units invalid resize after
(un)maximize
                 Project: GNU Octave
            Submitted by: kpc
            Submitted on: Tue 22 Nov 2016 01:35:27 AM GMT
                Category: Plotting
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Inaccurate Result
                  Status: None
             Assigned to: None
         Originator Name: kpc
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 4.2.0
        Operating System: Microsoft Windows

    _______________________________________________________

Details:

When using normalized units, resizing a window causes the uicontrols to track
reasonably well (sometimes a few pixels off, but never mind that).
However when the window is (un)maximized, the uicontrol elements are not
correctly resized. Dragging the border of the window (ie resize) causes the
elements to be positioned properly again.


h = figure(1, 'Position', [200,100,300,300])
uicontrol(h, 'Units', 'normalized', 'Position', [0,0,.2,1]);
axes('Parent', h, 'Units', 'normalized', 'Position', [.2,0,.8,1]);


One other thing, of which I am not sure if this is a bug. I noticed when
setting the enabled property in a uicontrol checkbox makes it unresponsive, as
would be expected. However it is still drawn the normal way. I would have
expected it to be drawn 'greyed out'.




    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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