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

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

[Octave-bug-tracker] [bug #49551] uipanel title hides/obscures uipaned c


From: jsh
Subject: [Octave-bug-tracker] [bug #49551] uipanel title hides/obscures uipaned contents (qt)
Date: Mon, 7 Nov 2016 08:21:14 +0000 (UTC)
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:49.0) Gecko/20100101 Firefox/49.0

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

                 Summary: uipanel title hides/obscures uipaned contents (qt)
                 Project: GNU Octave
            Submitted by: jsh
            Submitted on: Mon 07 Nov 2016 08:21:12 AM GMT
                Category: GUI
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Matlab Compatibility
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 4.0.3
        Operating System: Any

    _______________________________________________________

Details:

uipanel titles can completely obscure the top contents in the panel (see the
top panel in the attached code). Matlab handles this by moving the uipanel
contents/top border to a few pixels below the lower edge of the uipanel text.


f = figure( 'toolbar', 'none' );
p1 = uipanel( 'parent', f, 'position', [0 1-1/8 1 1/8], 'title', 'title1' );
p2 = uipanel( 'parent', f, 'position', [0 0 1 1/2], 'title', 'title2' );
c1 = uicontrol( 'parent', p1, 'units', 'normalized', 'position', [0 0 1 1],
'style', 'popupmenu', 'string', {'1' '2' '3' '4' '5'} );
c2 = uicontrol( 'parent', p2, 'units', 'normalized', 'position', [0 0 1 1],
'style', 'popupmenu', 'string', {'a' 'b' 'c' 'd' 'e'} );





    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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