Maple Professional
Maple Academic
Maple Student Edition
Maple Personal Edition
Maple Player
Maple Player for iPad
MapleSim Professional
MapleSim Academic
Maple T.A. - Testing & Assessment
Maple T.A. MAA Placement Test Suite
Möbius - Online Courseware
Machine Design / Industrial Automation
Aerospace
Vehicle Engineering
Robotics
Power Industries
System Simulation and Analysis
Model development for HIL
Plant Modeling for Control Design
Robotics/Motion Control/Mechatronics
Other Application Areas
Mathematics Education
Engineering Education
High Schools & Two-Year Colleges
Testing & Assessment
Students
Financial Modeling
Operations Research
High Performance Computing
Physics
Live Webinars
Recorded Webinars
Upcoming Events
MaplePrimes
Maplesoft Blog
Maplesoft Membership
Maple Ambassador Program
MapleCloud
Technical Whitepapers
E-Mail Newsletters
Maple Books
Math Matters
Application Center
MapleSim Model Gallery
User Case Studies
Exploring Engineering Fundamentals
Teaching Concepts with Maple
Maplesoft Welcome Center
Teacher Resource Center
Student Help Center
Maplets[Elements][VerticalGlue] - specify spacing in a column of a box layout
Calling Sequence
VerticalGlue()
Description
The VerticalGlue layout element adds flexible spacing in its location in a BoxColumn of a box layout.
When a column is initially sized, any extra space not consumed by the visible elements is equally distributed to all VerticalGlue elements in that column. This includes any VerticalGlue elements that are implicitly defined through the valign argument for the BoxColumn or the elements of the BoxColumn.
When the row is resized (for example, by resizing the window) the change height of the BoxColumn is applied to the VerticalGlue elements equally when possible.
The VerticalGlue layout element takes no additional options.
A VerticalGlue element can only be contained in a BoxColumn element, and is most useful when the BoxColumn has been specified with valign=none, allowing greater control of spacing of the elements within the column.
Examples
Alignment with valign.
Same alignment using VerticalGlue.
Example with three buttons that is only possible with halign=none and VerticalGlue.
Example where enlarging the window will cause the buttons to remain on the top.
Example where enlarging the window will cause the buttons to remain on opposite ends of the window.
See Also
Maplets/LayoutElements, Maplets[Display], Maplets[Elements], Maplets[Elements][BoxCell], Maplets[Elements][BoxColumn], Maplets[Elements][BoxLayout], Maplets[Elements][BoxRow], Maplets[Elements][HorizontalGlue], Maplets[Elements][Maplet], Overview of Maplet Applications
Download Help Document