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

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

[Octave-bug-tracker] [bug #48255] Default settings with uicontrols


From: John Donoghue
Subject: [Octave-bug-tracker] [bug #48255] Default settings with uicontrols
Date: Wed, 12 Oct 2016 17:12:05 +0000 (UTC)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2486.0 Safari/537.36 Edge/13.10586

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

looking at the code, it sets all uicontrols 'value' property to 1.0

Many of the controls don't care on its value for display so don't look wrong


Looking at matlab, using the  example below and the running

get(u, 'value'), it looks like most control (except listbox and popupmenu)
default to value 0.

So it may make sense to set the default value parameter to 0, and handle the 2
special cases.



    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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