Skip to main content
History: MyGUI align table
View published page
Source of version: 4
(current)
Alignment in MyGUI is behaviour that applied only when parent widget is changed, widget change it's position/size according to it's alignment. If you want to make widget be resized on load you can use BaseLayout class and "SnapTo" userData, that do such thing. Or you can implement similar custom behaviour when loading layout. {CODE(wrap="1")}HCenter /**< centre horizontally */ VCenter /**< centre vertically */ Center /**< center in the dead center */ Left /**< align from the left (and center vertically) */ Right /**< align from the right (and center vertically) */ HStretch /**< stretch horizontally proportionate to parent window (and center vertically) */ Top /**< align from the top (and center horizontally) */ Bottom /**< align from the bottom (and center horizontally) */ VStretch /**< stretch vertically proportionate to parent window (and center horizontally) */ Stretch /**< stretch proportionate to parent window */ Default /**< default align (align from left and top) */{CODE} Flags also can be combined through __|__ (pipe symbol), for example : {CODE(wrap="1")}Left | VStretch /**< align from the left and stretch vertically proportionate to parent window */ HStretch | Bottom /**< stretch horizontally proportionate to parent window and align from the bottom */{CODE}
Search by Tags
Search Wiki by Freetags
Latest Changes
Projects using OGRE
Building Your Projects With CMake
Compiled API Reference
Overlay Editor
Introduction - JaJDoo Shader Guide - Basics
RT Shader System
RapidXML Dotscene Loader
One Function Ogre
One Function Ogre
...more
Search
Find
Online Users
319 online users
OGRE Wiki
Support and community documentation for Ogre3D
Ogre Forums
ogre3d.org
Log in
Username
Password
CapsLock is on.
Remember me (for 1 year)
Log in