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

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

[Octave-bug-tracker] [bug #49552] uicontrol popupmenu sizing


From: Guillaume
Subject: [Octave-bug-tracker] [bug #49552] uicontrol popupmenu sizing
Date: Mon, 7 Nov 2016 11:12:46 +0000 (UTC)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:49.0) Gecko/20100101 Firefox/49.0

Follow-up Comment #2, bug #49552 (project octave):

I agree that Octave and Matlab behave differently here but I prefer what
Octave does. It makes it possible to have a control on how a popupmenu
actually looks, and especially make it have the same size than the other
uicontrols, such as here:


f = figure( 'toolbar', 'none' );
c1 = uicontrol( 'parent', f, 'units', 'normalized', 'position', [0.1 0.8 0.3
0.1], 'style', 'pushbutton', 'string', 'pushbutton' );
c2 = uicontrol( 'parent', f, 'units', 'normalized', 'position', [0.6 0.8 0.3
0.1], 'style', 'popupmenu', 'string', {'popupmenu','b','c'} );
c3 = uicontrol( 'parent', f, 'units', 'normalized', 'position', [0.1 0.5 0.3
0.1], 'style', 'radiobutton', 'string', 'radiobutton' );
c4 = uicontrol( 'parent', f, 'units', 'normalized', 'position', [0.6 0.5 0.3
0.1], 'style', 'togglebutton', 'string', 'togglebutton' );
c5 = uicontrol( 'parent', f, 'units', 'normalized', 'position', [0.1 0.2 0.3
0.1], 'style', 'text', 'string', 'text' );
c6 = uicontrol( 'parent', f, 'units', 'normalized', 'position', [0.6 0.2 0.3
0.1], 'style', 'listbox', 'string', 'listbox' );




    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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