--- a/ui/motif/Grid.h Thu Dec 12 20:01:43 2024 +0100 +++ b/ui/motif/Grid.h Mon Jan 06 22:22:55 2025 +0100 @@ -40,6 +40,12 @@ extern "C" { #endif +// resources +#define gridColumnSpacing "gridColumnSpacing" +#define gridRowSpacing "gridRowSpacing" +#define gridMargin "gridMargin" + +// constraints #define gridColumn "gridColumn" #define gridRow "gridRow" #define gridColspan "gridColspan" @@ -52,6 +58,7 @@ #define gridMarginRight "gridMarginRight" #define gridMarginTop "gridMarginTop" #define gridMarginBottom "gridMarginBottom" +#define gridMinWidth "gridMinWidth" typedef struct GridDef { @@ -80,6 +87,9 @@ int margin_bottom; int max_col; int max_row; + Dimension columnspacing; + Dimension rowspacing; + Dimension margin; Boolean sizerequest; } GridPart; @@ -107,6 +117,7 @@ Dimension rowspan; Dimension pref_width; Dimension pref_height; + Dimension min_width; } GridContraintPart; typedef struct GridConstraintRec {