Comments on: Matlab toolstrip – part 7 (selection controls) https://undocumentedmatlab.com/blog_old/matlab-toolstrip-part-7-selection-controls Charting Matlab's unsupported hidden underbelly Sun, 03 Jul 2022 14:46:57 +0000 hourly 1 https://wordpress.org/?v=4.4.1 By: Yair Altmanhttps://undocumentedmatlab.com/blog_old/matlab-toolstrip-part-7-selection-controls#comment-459060 Wed, 30 Jan 2019 10:14:25 +0000 https://undocumentedmatlab.com/?p=8257#comment-459060 I plan to discuss popup forms (a.k.a. “tear-off dialogs”) in a future post in this miniseries. Stay tuned :-)

In the meantime, you can integrate the underlying MJDimensionPicker control directly in your figure GUI:

jc=com.mathworks.mwswing.MJDimensionPicker(java.awt.Dimension(3,4),1);
jc.setAutoGrowEnabled(true);
jc.setSizeLimit(java.awt.Dimension(5,5));
[jhc,hContainer] = javacomponent(jc,[100,100,180,200],gcf);
]]>
By: rohithttps://undocumentedmatlab.com/blog_old/matlab-toolstrip-part-7-selection-controls#comment-459021 Wed, 30 Jan 2019 06:39:04 +0000 https://undocumentedmatlab.com/?p=8257#comment-459021 Yair,

Great Post..!

How can we add control similar to [ View (Tab) –> Tiles (Column) –> Custom (Drop-Down Button)] ??

Thanks..!

]]>
By: Yair Altmanhttps://undocumentedmatlab.com/blog_old/matlab-toolstrip-part-7-selection-controls#comment-458654 Mon, 28 Jan 2019 14:52:53 +0000 https://undocumentedmatlab.com/?p=8257#comment-458654 I plan to discuss positioning, docking and sizing in a near-future post in this miniseries. Stay tuned :-)

]]>
By: Yair Altmanhttps://undocumentedmatlab.com/blog_old/matlab-toolstrip-part-7-selection-controls#comment-458653 Mon, 28 Jan 2019 14:50:06 +0000 https://undocumentedmatlab.com/?p=8257#comment-458653 I plan to discuss integration of the toolstrip in figures in a future post of this miniseries

]]>
By: BYhttps://undocumentedmatlab.com/blog_old/matlab-toolstrip-part-7-selection-controls#comment-458643 Mon, 28 Jan 2019 13:57:38 +0000 https://undocumentedmatlab.com/?p=8257#comment-458643 Hello Yair,

I appreciate your effort for this series. It really changed my approach to MATLAB UI design. I think on moving from the GUI Layout Toolbox provided by David Sampson to toolstrips once I feel more comfortable with them.

My question is, is it possible to get the handle to the window containing the ToolGroup before or after it is created (i.e. hToolGroup.open()). I would like to use the new WindowState property of the figure window that came with the R2018a. My aim is to display the ToolGroup in fullscreen mode when it is opened.

Or is there any other workaround for this issue? Thank you for your time.

]]>
By: Ramiro Massolhttps://undocumentedmatlab.com/blog_old/matlab-toolstrip-part-7-selection-controls#comment-458632 Mon, 28 Jan 2019 12:26:29 +0000 https://undocumentedmatlab.com/?p=8257#comment-458632 hi Yair
this series about toolstrips is really cool and i appreciate your effort explaining so many concepts about it. Is it possible to customize toolstrips for a simple GUI or this only works for toolgroups?
best
Ramiro

]]>