PDA

View Full Version : Numbercontrol fields



newcoda
September 17th, 2007, 20:28
Not sure this is the right forums, sorry if it isn't but I cannot seem to change the width of a numberfield. using <size> for height works fine but I cannot change its width with <size>.

Any suggestions?

Toadwart
September 17th, 2007, 20:42
Depends on how you are anchoring the field.
If you have a <left> and a <right> anchor then the static width will be ignored. Similarlay a <height> cannot be used if yoiu have a <top> and a <bottom> anchor.

Also: if you use the shorthand notation then some dimesions are automatically calculated. e.g. if your field is positioned "below" another field then it's width is set equal to the field it is anchored to (though you can affect this with an offset I believe)

It's all described in the library
https://www.fantasygrounds.com/modguide/windowing.xcp
though it does take awhile to get to grips with it...