Rank: 328296 based on 0 downloads (last 30 days) and 0 file submitted
photo

Dani

E-mail

Personal Profile:
Professional Interests:

 

Watch this Author's files

 

Comments and Ratings by Dani View all
Updated File Comments Rating
07 Oct 2014 GUI Layout Toolbox Layout management objects for MATLAB GUIs, for the new graphics system introduced in R2014b Author: David Sampson

In v1 the uiextras objects seem to inherit the default background color of uipanels, which can be set by e.g.
set(0, 'DefaultUipanelBackgroundColor', 'r')
How do I achieve the same in v2?

03 Mar 2014 GUI Layout Toolbox Layout management objects for MATLAB GUIs Author: Ben Tordoff

I would like to associate my uiextras.Panel with a window that displays some help text. I struggle to find a way how this can be done. I guess I could add this as a child to the panel, but since all panels look differently it is difficult to come up with a homogeneous way of doing this.

The simplest would be to add a callback to the title of the panel or, perhaps more elegant, add a button with a question mark all the way to the right of the top of the panel, i.e. on the opposite side of the title text, that has a callback to the help window. Is any of this possible?

01 Apr 2013 GUI Layout Toolbox Layout management objects for MATLAB GUIs Author: Ben Tordoff

A (long) while ago I commented here and complained that the different uicontrols, more specifically their text, are not vertically aligned. Using Yairs findjobj one can actually align them by directly operating with the underlying java object. Before I forget again how to do it I provide here the updated example:

figure
DUP = get(0, 'DefaultUicontrolPosition');
uicontrol('Style', 'popupmenu', 'String', {'Yes', 'No'}, 'Value', 1, 'Position', DUP);
hu = uicontrol('Style', 'text', 'String', 'Test', 'Position', [5+DUP(1)+DUP(3), DUP(2:4)], 'HorizontalAlignment', 'left');
[a,b] = findjobj(hu);
a.setVerticalAlignment(javax.swing.SwingConstants.CENTER);

18 Mar 2013 GUI Layout Toolbox Layout management objects for MATLAB GUIs Author: Ben Tordoff

I have a problem with uiextras.Panel. If I execute the code below then the colorbar is in the wrong position, lying over the axes. This can be cured by uncommenting the pause statement or replacing uiextras.Panel with a conventional uipanel, both not very satisfactory solutions. Am I doing something wrong?

f = figure
p = uiextras.Panel('Parent', f);
c = uicontainer( 'Parent', p );
a = axes('Parent', c);

pcolor(rand(10));
%pause(0.05)
colorbar

01 Mar 2012 GUI Layout Toolbox Layout management objects for MATLAB GUIs Author: Ben Tordoff

Hi again,
this is embarrassing, but I cannot reproduce this. So please just ignore this.
Dani

Contact us