GridLayout

バージョン 1.5.0.0 (12.5 KB) 作成者: Mihail Petrov
An intuitive and flexible layout manager
ダウンロード: 1.4K
更新 2012/3/28

ライセンスの表示

GridLayout was inspired by the GridBagLayout manager. It is equally flexible but more intuitive for my taste and it also requires less boilerplate code.

Each cell is a uicontainer and can hold only one child. Unlike GridBagLayout, children are added at creation time by passing the cell container handle as their parent. No 'Add' methods are needed, which reduces the amount of code.

Cell sizes can be specified in pixels or as relative values. Merging and removing cells are supported, as well as various alignment options: stretch, center, left, right, top, bottom.

The archive also includes demos illustrating the GridLayout capabilities . Bug reports and suggestion for improvement are very much appreciated. Download, unpack, and enjoy!

引用

Mihail Petrov (2024). GridLayout (https://www.mathworks.com/matlabcentral/fileexchange/29472-gridlayout), MATLAB Central File Exchange. 取得済み .

MATLAB リリースの互換性
作成: R2010b
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linux
カテゴリ
Help Center および MATLAB AnswersApp Building についてさらに検索
謝辞

ヒントを得たファイル: GridBagLayout

ヒントを与えたファイル: Sim.I.am

Community Treasure Hunt

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

Start Hunting!
バージョン 公開済み リリース ノート
1.5.0.0

Forgotten to add ParseArgs and GetArg functions to the release.

1.4.0.0

Added support for:

1) axes with legends (as requested)

2) nested layouts (as requested)

3) automatic row/column sizing (experimental)

1.1.0.0

A few bugs were fixed and an additional demo added.

1.0.0.0