Maple Professionel
Maple Académique
Maple Edition Étudiant
Maple Personal Edition
Maple Player
Maple Player for iPad
MapleSim Professionel
MapleSim Académique
Maple T.A. - Suite d'examens de classement
Maple T.A. MAA Placement Test Suite
Möbius - Didacticiels de mathématiques en ligne
Machine Design / Industrial Automation
Aéronautique
Ingénierie des véhicules
Robotics
Energie
System Simulation and Analysis
Model development for HIL
Modélisation du procédé pour la conception de systèmes de contrôle
Robotics/Motion Control/Mechatronics
Other Application Areas
Enseignement des mathématiques
Enseignement de l’ingénierie
Enseignement secondaire et supérieur (CPGE, BTS)
Tests et évaluations
Etudiants
Modélisation financière
Recherche opérationnelle
Calcul haute performance
Physique
Webinaires en direct
Webinaires enregistrés
Agenda des évènements
Forum MaplePrimes
Blog Maplesoft
Membres Maplesoft
Maple Ambassador Program
MapleCloud
Livres blancs techniques
Bulletin électronique
Livres Maple
Math Matters
Portail des applications
Galerie de modèles MapleSim
Cas d'Etudes Utilisateur
Exploring Engineering Fundamentals
Concepts d’enseignement avec Maple
Centre d’accueil utilisateur Maplesoft
Centre de ressources pour enseignants
Centre d’assistance aux étudiants
Maplets[Elements][HorizontalGlue] - specify spacing in a row of a box layout
Calling Sequence
HorizontalGlue()
Description
The HorizontalGlue layout element adds flexible spacing in its location in a BoxRow of a box layout.
When a row is initially sized, any extra space not consumed by the visible elements is equally distributed to all HorizontalGlue elements in that row. This includes any HorizontalGlue elements that are implicitly defined through the halign argument for the BoxRow or the elements of the BoxRow.
When the row is resized (for example, by resizing the window) the change width of the BoxRow is applied to the HorizontalGlue elements equally when possible.
The HorizontalGlue layout element takes no additional options.
A HorizontalGlue element can only be contained in a BoxRow element, and is most useful when the BoxRow has been specified with halign=none, allowing greater control of spacing of the elements within the row.
Examples
Alignment with halign.
Same alignment using HorizontalGlue.
Example with three buttons that is only possible with halign=none and HorizontalGlue.
Example where enlarging the window will cause the buttons to remain on the left.
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][Maplet], Maplets[Elements][VerticalGlue], Overview of Maplet Applications
Download Help Document