[SOLVED] Small alignment question.

scratchyrice

28-02-2009 17:13:34

Basicly, In the panel demo, For the panel cell captions, It is aligned as both HStretch, And top. Now i know that in a .layout file, You can just do align="HStretch Top", But how do i do the same in the program? There is no MyGUI::Align::Align_HSTRECH_TOP.. So im kinda stuck.

Cheers

Scratchy

Five_stars

28-02-2009 18:21:31

You can combine flags MyGUI::Align::HStretch and MyGUI::Align::Top so:
MyGUI::Align::HStretch | MyGUI::Align::Top and set them as Align parameter.

scratchyrice

28-02-2009 18:33:22

Ah i see, Thanks.

Cheers

Scratchy