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

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

[Octave-bug-tracker] [bug #49247] Backgroundcolor ignored for pushbutton


From: Guillaume
Subject: [Octave-bug-tracker] [bug #49247] Backgroundcolor ignored for pushbutton and radiobutton
Date: Tue, 11 Oct 2016 09:58:44 +0000 (UTC)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:48.0) Gecko/20100101 Firefox/48.0

Follow-up Comment #8, bug #49247 (project octave):

John, thanks! I can confirm that the backgroundcolors are now fine for
pushbutton and radiobutton.

I also reran the script from bug #48255 to compare Octave and Matlab for all
uicontrols:


F = figure;
set(0,'defaultuicontrolunits','normalized') ;
u(1) = uicontrol(F,'Style','checkbox', 'String','string', 'Position',[0.3 0.8
0.4 0.09]);
u(2) = uicontrol(F,'Style','edit', 'String','string', 'Position',[0.3 0.7 0.4
0.09]);
u(3) = uicontrol(F,'Style','listbox', 'String','string', 'Position',[0.3 0.6
0.4 0.09]);
u(4) = uicontrol(F,'Style','popupmenu', 'String','string', 'Position',[0.3 0.5
0.4 0.09]);
u(5) = uicontrol(F,'Style','pushbutton', 'String','string', 'Position',[0.3
0.4 0.4 0.09]);
u(6) = uicontrol(F,'Style','radiobutton', 'String','string', 'Position',[0.3
0.3 0.4 0.09]);
u(7) = uicontrol(F,'Style','text', 'String','string', 'Position',[0.3 0.2 0.4
0.09]);
u(8) = uicontrol(F,'Style','togglebutton', 'String','string', 'Position',[0.3
0.1 0.4 0.09]);
set(u,'backgroundcolor',[1 0 0]) 
set(u,'foregroundcolor',[0 1 0])


and I can see four issues:
* backgroundcolor of popupmenu
* text color (ie foregroundcolor) of checkbox, popupmenu and radiobutton
* checkbox and radiobutton default value
* edit, listbox and popupmenu have a strange looking black border.

(file #38699, file #38700)
    _______________________________________________________

Additional Item Attachment:

File name: uicontrol_matlab.png           Size:11 KB
File name: uicontrol_octave.png           Size:18 KB


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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