octave-maintainers
[Top][All Lists]
Advanced

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

Re: Need someone to test uipanel for me


From: Michael Goffioul
Subject: Re: Need someone to test uipanel for me
Date: Tue, 27 Sep 2011 12:45:39 +0100

Thanks. So unless I'm mistaken, it means:
1) (0,0) takes border width into account, as does the width
2) the panel height does not take the complete border width into account

Finally, could you just try to switch the button units to normalized. That is:

h = uipanel('position', [0, 0, 0.5, 0.5], 'title', 'PANEL', 'borderwidth', 10);
hb = uicontrol(h, 'string', 'OK', 'units', 'normalized', 'position',
[0, 0, 0.25, 0.25]);
ha = axes('parent', h, 'position', [0, 0, 1, 1], 'color', 'w',
'xgrid', 'on', 'ygrid', 'on');

Michael.


reply via email to

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