Amigans Defender
|
@orgin
That's quite strange! I've just compiled a test GUI under OS3.9, and it does work as I described earlier: the string gadget and the gauge are placed in one horizontal group and both are made unproportional vertically through a common CHILD_WeightedHeight, 0. The code snippet:
... LAYOUT_AddChild, HGroupObject, LAYOUT_AddChild, StringObject, GA_ID, GID_STRING, GA_RelVerify, TRUE, End, /* string */ LAYOUT_AddChild, FuelGaugeObject, GA_ID, GID_GAUGE, GA_RelVerify, TRUE, End, /* fuelgauge */ End, /* HGroup */ CHILD_WeightedHeight, 0, ...
|