Hello members,
Do you know how i can rotate a slider in GUI from horizontal to vertical and vice versa ?
Or i should draw it again and to affect all functions !!!
Thanks for your help
|
|
0
|
|
|
|
Reply
|
nkodeih
|
4/20/2010 4:52:04 PM |
|
First do:
S = uicontrol('style','slider','pos',[10 10 100 20]);
Then do:
set(S,'position',[10 10 20 100])
|
|
0
|
|
|
|
Reply
|
Matt
|
4/20/2010 5:29:22 PM
|
|
Thanks Matt fig, is it possible to change in the GUI builder property inspector ?
and S = uicontrol('style','slider','pos',[10 10 100 20]);
set(S,'position',[10 10 20 100])
i will put them under function slider_CreateFcn(hObject, eventdata, handles) ???
Thanks in advance
|
|
0
|
|
|
|
Reply
|
nkodeih
|
4/20/2010 6:15:26 PM
|
|