Difference between revisions of "UI Floaters"
Jump to navigation
Jump to search
(9 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
Documentation of the current XUI xml format as used in the Second Life viewer for its UI floaters. | |||
===Floater Options=== | |||
You will see the following information in XML files as you go. Here's what all the options mean. | |||
= | <b>Name</b> | ||
You will | * name="SuperFLoater" // name of the floater. You will use this name in the code to identify your floater when you need it | ||
<b>Width and Height</b> | <b>Width and Height</b> | ||
* width="100" // sets the width of the | * width="100" // sets the width of the floater to be 100 pixels | ||
** Note: This is the entire width of the | ** Note: This is the entire width of the floater, not just the label. | ||
* height="20" // sets the height of the | * height="20" // sets the height of the floater to be 20 pixels | ||
** Note: This is the entire | ** Note: This is the entire height of the floater, not just the label. | ||
===Generic Floater XML Elements=== | ===Generic Floater XML Elements=== |
Latest revision as of 13:26, 24 June 2012
Documentation of the current XUI xml format as used in the Second Life viewer for its UI floaters.
Floater Options
You will see the following information in XML files as you go. Here's what all the options mean.
Name
- name="SuperFLoater" // name of the floater. You will use this name in the code to identify your floater when you need it
Width and Height
- width="100" // sets the width of the floater to be 100 pixels
- Note: This is the entire width of the floater, not just the label.
- height="20" // sets the height of the floater to be 20 pixels
- Note: This is the entire height of the floater, not just the label.