GUI Layout Toolbox

Layout manager for MATLAB graphical user interfaces

90.6K Downloads

Updated 29 Oct 2020

View License

Editor's Note: Popular File 2017 2018 2019 2020

This file was selected as MATLAB Central Pick of the Week

This toolbox provides tools to create sophisticated MATLAB graphical user interfaces that resize gracefully. The classes supplied can be used in combination to produce virtually any user interface layout.

* Arrange MATLAB user interface components horizontally, vertically or in grids
* Mix fixed- and variable-size components
* Resize components interactively by dragging dividers
* Show and hide components using tabs and panels
* Show part of a large component in a scrollable panel

This toolbox was developed by David Sampson and Ben Tordoff from the [Consulting Services](http:/services/consulting/) group at bat365.

This version is for MATLAB R2014b and later. For R2014a and earlier, see [version 1](http:/matlabcentral/fileexchange/27758-gui-layout-toolbox).

Cite As

David Sampson (2023). GUI Layout Toolbox (/matlabcentral/fileexchange/47982-gui-layout-toolbox), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2020b
Compatible with R2014b and later releases
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
2.3.5

* Updated for compatibility with R2020b uipanels
* Fixed G1959226 "Scrolling panel scrollbars and blanking plate do not match background color"
* Fixed G1959228 "Scrolling panel sliders remain after child is deleted"

2.3.4

* Fixed G1910801 "Scrolling panel does not work in figure with Units other than 'pixels'"
* Fixed G1911845 "Unexpected reordering of contents as axes toolbar causes axes to be removed and readded"

2.3.3

* Updated for compatibility with R2018b axes toolbars
* Fixed G1804440 "Flex containers position axes incorrectly when ActivePositionProperty is outerposition"

2.3.2.0

* Set tooltip strings for BoxPanel dock/undock, minimize/maximize, help and close buttons
* Set default padding for flex containers to 5 so that dividers are visible
* Fixed G1358897 "BoxPanel title is truncated on Mac high DPI display"

2.3.1.0

* Specify minimum width and height of contents in uix.ScrollingPanel
* Update contents position while dragging uix.ScrollingPanel scrollbox
* Scroll uix.ScrollingPanel using mouse wheel

2.3.0.0

* Added scrolling panel
* Expand and collapse box panel by clicking on title
* Fixed G1493103 "Error on construction behavior is inconstistent with builtin objects"

2.2.2.0

* Fixed G1175938 "Cannot use data cursor mode with GUI Layout Toolbox containers"
* Fixed G1367337 "Update flex container pointer on mouse press event"
* Fixed G1380756 "Space behind TabPanel tabs should match parent color"

2.2.1.0

Bug fixes

2.2.0.0

* Improved box panel title bar appearance
* Changed selection behavior of uix.TabGroup to match that of uitabgroup when the selected tab is removed
* Bug fixes (see release notes)

2.1.2.0

Bug fixes

2.1.1.0

Removed HTML tags from description since File Exchange does not render markup. No changes to the submission itself.
Version 2.1.1 fixes several bugs in version 2.1.

2.1.0.0