negative number mean ??

StoneChang

12-03-2009 09:45:42

Hi,

What does the negative numbers below mean ?

<Child type="VScroll" skin="VScroll" offset = "-10 3 16 3" align = "ALIGN_RIGHT ALIGN_VSTRETCH" name = "VScroll">
</Child>

<Child type="Widget" skin="DefaultClient" offset = "3 3 -13 3" align = "ALIGN_STRETCH" name = "Client">
</Child>


I have seen something as below in Ogre wiki, but no help

<Child type="any_widget_type" skin="any_skin" offset = "left top width height (offset in widget in pixels)" align = "child_skin_alignment [another_alignment]" name = "element_name">
</Child>

i try to understand it as above format, but have no ponit...

thanks :)


[... lots of widgets here :) ]
</MyGUI>

hpesoj

27-03-2009 17:44:05

Surely it just means the widget has a negative offset (e.g. when you move widgets partially off the left or top of the screen).