Difference between revisions of "Skinning HowTo/XUI Containers"

From Second Life Wiki
Jump to navigation Jump to search
Line 1: Line 1:
This page describes the XML attributes for the XUI containers.  You can find attributes for other XUI elements at:
This page describes the XML attributes for the XUI containers.  They are used by the [[Skinning How To/The XML files and what they do | XUI files]] in the '''\skins\default\xui''' folders.  You can find attributes for other XUI elements at:
*[[Skinning HowTo/XUI Menus]]
*[[Skinning HowTo/XUI Menus]]
*[[Skinning HowTo/XUI Widgets]]
*[[Skinning HowTo/XUI Widgets]]

Revision as of 14:01, 7 September 2009

This page describes the XML attributes for the XUI containers. They are used by the XUI files in the \skins\default\xui folders. You can find attributes for other XUI elements at:

and you can find more general information at Skinning HowTo/Basics

Many XUI elements share the same parameters. Rather than repeatedly describing them, we just list their names here and describe them at Skinning HowTo/Common XUI XML parameters.

floater parameters


  • Used by tab_container.
  • Class LLFloater
  • In source file llui/llfloater.cpp
can_close

Optional.

can_drag_on_left

Optional.

can_minimize

Optional.

can_resize
height

Optional.

width

Optional.

max_height

Optional.

min_height

Optional.

min_width

Optional.

name
rect_control

Optional.

title

Optional.

bottom

Optional.

left

Optional.

can_tear_off

Optional.

enabled

Optional.

mouse_opaque

Optional.

control_name

Optional.

follows

Optional.

border

Optional.

default_tab_group

Optional.

label

Optional.

border_drop_shadow_visible

Optional.

border_visible

Optional.

border_style

Optional.

border_thickness

Optional.

border_bevel

Optional.

bevel_style

Optional.

short_title

Optional.

sound_flags

Optional.

multi_floater parameters


  • Can contain icon, string, tab_container, and panel.
can_close
can_drag_on_left
can_minimize
can_resize
height
width
min_height

Optional.

min_width

Optional.

name
rect_control
title
bottom

Optional.

left

Optional.

enabled

Optional.

follows

Optional.

mouse_opaque

Optional.

title_bar

Optional.

panel parameters


  • Used by floater, tab_container, layout_panel, multi_floater, and recursively by other panels.
  • Class LLPanel
  • In source file llui/llpanel.cpp
border

Optional.

bottom

Optional.

bottom_delta

Optional.

top

Optional.

left

Optional.

left_delta

Optional.

right

Optional.

enabled

Optional.

follows

Optional.

height

Optional.

width

Optional.

label

Optional.

mouse_opaque

Optional.

name

Optional.

background_opaque

Optional.

background_visible

Optional.

bevel_style

Optional.

bg_alpha_color

Optional.

bg_opaque_color

Optional.

can_resize

Optional.

filename

Optional.

tab_group

Optional.

default_tab_group

Optional.

placeholder

Optional.

border_drop_shadow_visible

Optional.

border_visible

Optional.

border_style

Optional.

border_thickness

Optional.

border_color

Optional.

tool_tip

Optional.

title

Optional.

auto_resize

Optional.

user_resize

Optional.

use_bounding_rect

Optional.

bg_visible

Optional.

can_close

Optional.

can_minimize

Optional.

left_in_finder

Optional.

select

Optional.

visible

Optional.

layout_panel parameters


  • Used by layout_stack.
  • Can contain button, check_box, combo_box, icon, layout_stack, line_editor, panel, progress_bar, scroll_list, text, text_editor, and web_browser.
  • In source file llui/llpanel.cpp
border

Optional.

bottom

Optional.

left

Optional.

top_delta

Optional.

default_tab_group

Optional.

height

Optional.

min_height

Optional.

width
min_width

Optional.

name
auto_resize

Optional.

can_resize

Optional.

user_resize

Optional.

filename

Optional.

visible

Optional.

follows

Optional.

background_visible

Optional.

mouse_opaque

Optional.

use_bounding_rect

Optional.

layout_stack parameters


  • Used by floater, panel, and layout_panel.
  • Can contain button, flyout_button, icon, layout_panel, and scroll_list.
  • Class LLLayoutStack
  • In source file llui/llpanel.cpp
border

Optional.

bottom
top

Optional.

left
right

Optional.

follows
height

Optional.

min_height

Optional.

width

Optional.

min_width

Optional.

orientation

Optional.

name
tab_group

Optional.

border_size

Optional.

mouse_opaque

Optional.

use_bounding_rect

Optional.

tab_container parameters


  • Used by floater, panel, and multi_floater.
  • Can contain inventory_panel, panel, and floater.
  • Class LLTabContainer
  • In source file llui/lltabcontainer.cpp
enabled

Optional.

follows

Optional.

height

Optional.

left
right

Optional.

top

Optional.

bottom

Optional.

bottom_delta

Optional.

mouse_opaque

Optional.

name
tab_position
width

Optional.

tab_width

Optional.

tab_min_width

Optional.

tab_max_width

Optional.

border

Optional.

tab_group

Optional.

hide_tabs

Optional.