DAS  3.1.6 - 18/09/2017
Macros
Alignment options
+ Collaboration diagram for Alignment options:

Macros

#define BOTTOM_ALIGN   4
 
#define CENTER_ALIGN   2
 
#define LEFT_ALIGN   0
 
#define RIGHT_ALIGN   1
 
#define TOP_ALIGN   3
 
#define UNDEF_ALIGN   0x3f
 

Detailed Description

The first 3 are used for text alignment in LABEL and text-only BUTTON objects and in Text drawing primitives (CmPushButton::setAlignment). All are also used to align objects in the TableForm cell boundaries when a Form is enlarged (MObjectAlign(), MTableFormSetColAlign(), MTableFormSetRowAlign(), CmObject::align, CmAbsTableForm::setColAlign, CmAbsTableForm::setRowAlign). Moreover they all can be used to set the Text vs Image alignment in Buttons (Push/Toggle/Radio) having both image and text via MButtonSetTextVsImageAlignment() and CmAbsButton::setTextVsImageAlignment.

Macro Definition Documentation

§ BOTTOM_ALIGN

#define BOTTOM_ALIGN   4

§ CENTER_ALIGN

#define CENTER_ALIGN   2

§ LEFT_ALIGN

#define LEFT_ALIGN   0

§ RIGHT_ALIGN

#define RIGHT_ALIGN   1

§ TOP_ALIGN

#define TOP_ALIGN   3

§ UNDEF_ALIGN

#define UNDEF_ALIGN   0x3f
______________________________________________________________________________________
Generated on Mon Sep 18 2017 11:47:07 for DAS - Rel. 3.1.6 - 18/09/2017.