MATLAB Creating Graphical User Interfaces

(ff) #1

When an app becomes very small, auto-resize stops eliminating whitespace and resizing
components. This can put some components outside the visible part of the window. To
access these components, set the Scrollable property of the panels to'on'. This
enables scroll bars to appear when necessary.


Example: Using Apps with Auto-Reflow


This example shows how to create components within the panels of an app with auto-
reflow. Controls for data selection are parented to the left panel, and data visualizations
are parented to two tabs in the right panel. Change the size of the app window at run
time to demonstrate the resize and reflow behaviors.


Apps with Auto-Reflow
Free download pdf