gui control align (1 Viewer)

dnlar

Portal Member
March 11, 2009
17
3
Kävlinge
Home Country
Sweden Sweden
Hi,

Finishing off a new plugin, but got stuck in the GUI.
I want to center a label horizontally from the plugin's xml file and set the vertical alignment preferrably relative to the current resolution, but if simpler I can do with entering an absolute value for the vertical. I have tried with <align>center</align> but this centers the label both horizontally and vertically, so I can't use it on more than one label. <posX> and <posY> only seems to support absolute values so it looks weird when I switch resolutions. How can I achieve resolution independant placement?

br
Daniel
 

Users who are viewing this thread

Top Bottom