Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#264 closed enhancement (invalid)

Implement MUIA_Group_Align

Reported by: Andreas Falkenhahn Owned by:
Priority: normal Milestone: 4.0-2015R4
Component: Group.mui Version: 4.0-2015R3
Severity: minor Keywords:
Cc: OS Platform: All
Blocked By: Blocking:
Release Notes:

Description

Fixed size objects are always horizontally centered in a VGroup. This behaviour can only be changed by an ugly workaround: Encapsulate every object in a separate HGroup with a HSpace padding object.

It would be much more convenient if there was an attribute like MUIA_Group_Align that could be used to set the alignment of fixed size objects to MUIV_Group_Align_Left, MUIV_Group_Align_Center (default) or MUIV_Group_Align_Right.

Change History (2)

comment:1 Changed 3 years ago by Thore Böckelmann

Milestone: future release4.0-2015R4
Priority: undecidednormal
Resolution: invalid
Status: newclosed

I just noticed that exactly this is already implemented in form of the two attributes MUIA_Group_HorizCenter and MUIA_Group_VertCenter. Use these attributes to align the child objects accordingly.

comment:2 Changed 3 years ago by Thore Böckelmann

In 4974:

  • Group.c, doc/Group: added some special value definitions for the attributes MUIA_Group_HorizCenter and MUIA_Group_VertCenter for convenience. This refs #264.
Note: See TracTickets for help on using tickets.