Panel Sub-Window Resizing
JasonSchroder
I am working on a new panel, which uses the built in control resizing package. So far the resizing of the controls is working nicely. However, I have hit a road block in trying to get sub-windows (i.e. a table or figure) to resize with the panel. Is there anyway to get sub-windows placed on a tab within a panel to resize with the panel (see attached image as an example)? In the attached file, the bottom shows that when the panel is resized, the sub-window remains the original size.
Forum
Support
Gallery
Igor Pro 9
Learn More
Igor XOP Toolkit
Learn More
Igor NIDAQ Tools MX
Learn More
You can use window guides:
DisplayHelpTopic "Subwindow Layout Mode and Guides"
While you're there, it won't take much more time to back up in the help file a bit and start reading about subwindows:
DisplayHelpTopic "Embedding and Subwindows"
The short story is that you can define guides that move when you resize a window. You can stick your subwindow edges to guides that will then cause the subwindow to resize more or less intelligently when the parent window resizes.
November 2, 2018 at 04:44 pm - Permalink