Difference between revisions of "Property Element"
Jump to navigation
Jump to search
no edit summary
imported>JRoush m (→General) |
imported>Kyoma |
||
Line 35: | Line 35: | ||
Properties specific to the [[Menu Element#Image|Image Element]] | Properties specific to the [[Menu Element#Image|Image Element]] | ||
*Filename | *Filename | ||
*Zoom | *'''Zoom''' (Numeric) Specifies the zoom percentage of the image. Setting it to 0 will result in a hidden image and can be larger than 100 to magnify the source texture. When using a value of -1 the image will be resized according to the width and height of the element (but not cropped). | ||
*CropX,CropY | *CropX,CropY | ||
Line 42: | Line 42: | ||
*Red, Green Blue | *Red, Green Blue | ||
*Font | *Font | ||
*Justify | *'''Justify''' (Numeric) Specifies where the text begins relative to the element's position. Options are "&left;", "¢er;" and "&right;". Can be used to align things but will require adjustments to the element's position when not using "&left;". Example, using "&left;" the text will start at the same position of the element. But when using "¢er;" the text will be positioned in a way that puts the center of the text at the position of the element. Using "&right" will position the text in a way that puts the end of it at the same position of the element. | ||
|| Is root position of the text element | |||
|| (<justify> &left; </justify>) | |||
Hello World. | |||
|| (<justify> ¢er; </justify>) | |||
Hello World. | |||
|| (<justify> &right; </justify>) | |||
Hello World. | |||
*String | *String | ||
*Wrapwidth | *Wrapwidth |