Difference between revisions of "Skinning HowTo/XUI Containers"

From Second Life Wiki
Jump to: navigation, search
(tab_container parameters)
Line 61: Line 61:
  
 
====Common parameters====
 
====Common parameters====
*[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:  name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group
+
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group
*[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:  width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control
+
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control
  
 
====Specific parameters====
 
====Specific parameters====
Line 88: Line 88:
  
 
====Common parameters====
 
====Common parameters====
*[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:  name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group
+
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group
*[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:  width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control
+
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control
*[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:  label
+
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' label
*Others:  [[Skinning HowTo/Common XUI XML parameters#tab_group|tab_group]], [[Skinning HowTo/Common XUI XML parameters#border|border]]
+
*'''Others:''' [[Skinning HowTo/Common XUI XML parameters#tab_group|tab_group]], [[Skinning HowTo/Common XUI XML parameters#border|border]]
  
 
====Specific parameters====
 
====Specific parameters====
Line 145: Line 145:
  
 
====Common parameters====
 
====Common parameters====
*[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:  name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group
+
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group
*[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:  width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control
+
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control
*[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:  label
+
*'''[[Skinning HowTo/Common XUI XML parameters#Text|Text]]:''' label
*Others: [[Skinning HowTo/Common XUI XML parameters#border|border]]
+
*'''Others:''' [[Skinning HowTo/Common XUI XML parameters#border|border]]
  
 
====Specific parameters====
 
====Specific parameters====
Line 175: Line 175:
  
 
====Common parameters====
 
====Common parameters====
*[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:  name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group
+
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group
*[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:  width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control
+
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control
*Others:  [[Skinning HowTo/Common XUI XML parameters#tab_group|tab_group]], [[Skinning HowTo/Common XUI XML parameters#border|border]]
+
*'''Others:''' [[Skinning HowTo/Common XUI XML parameters#tab_group|tab_group]], [[Skinning HowTo/Common XUI XML parameters#border|border]]
  
 
====Specific parameters====
 
====Specific parameters====
Line 198: Line 198:
  
 
====Common parameters====
 
====Common parameters====
*[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:  name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group
+
*'''[[Skinning HowTo/Common XUI XML parameters#Used by all XUI elements|General]]:''' name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group
*[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:  width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control
+
*'''[[Skinning HowTo/Common XUI XML parameters#Positioning|Positioning]]:''' width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control
*Others:  [[Skinning HowTo/Common XUI XML parameters#tab_group|tab_group]], [[Skinning HowTo/Common XUI XML parameters#border|border]]
+
*'''Others:''' [[Skinning HowTo/Common XUI XML parameters#tab_group|tab_group]], [[Skinning HowTo/Common XUI XML parameters#border|border]]
  
 
====Specific parameters====
 
====Specific parameters====

Revision as of 15:09, 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.

Contents

floater parameters


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

Common parameters

  • General: name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group
  • Positioning: width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control
  • Text: label
  • Others: border

Specific parameters

can_close

Optional.

can_drag_on_left

Optional.

can_minimize

Optional.

can_resize
can_tear_off

Optional.

max_height

Optional.

min_height

Optional.

min_width

Optional.

title

Optional.

short_title

Optional.

border_drop_shadow_visible

Optional.

border_visible

Optional.

border_style

Optional.

border_thickness

Optional.

border_bevel

Optional.

bevel_style

Optional.

multi_floater parameters


  • Can contain icon, string, tab_container, and panel.

Common parameters

  • General: name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group
  • Positioning: width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control

Specific parameters

can_close
can_drag_on_left
can_minimize
can_resize
min_height

Optional.

min_width

Optional.

title
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

Common parameters

  • General: name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group
  • Positioning: width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control
  • Text: label
  • Others: tab_group, border

Specific parameters

background_opaque

Optional.

background_visible

Optional.

bevel_style

Optional.

bg_visible

Optional.

bg_alpha_color

Optional.

bg_opaque_color

Optional.

can_resize

Optional.

can_close

Optional.

can_minimize

Optional.

filename

Optional.

placeholder

Optional.

border_drop_shadow_visible

Optional.

border_visible

Optional.

border_style

Optional.

border_thickness

Optional.

border_color

Optional.

title

Optional.

auto_resize

Optional.

user_resize

Optional.

left_in_finder

Optional.

select

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

Common parameters

  • General: name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group
  • Positioning: width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control
  • Text: label
  • Others: border

Specific parameters

min_height

Optional.

min_width

Optional.

auto_resize

Optional.

can_resize

Optional.

user_resize

Optional.

filename

Optional.

background_visible

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

Common parameters

  • General: name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group
  • Positioning: width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control
  • Others: tab_group, border

Specific parameters

min_height

Optional.

min_width

Optional.

orientation

Optional.

border_size

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

Common parameters

  • General: name, mouse_opaque, tool_tip, control_name, enabled, visible, use_bounding_rect, default_tab_group
  • Positioning: width, height, left, right, left_delta, bottom, top, bottom_delta, follows, rect_control
  • Others: tab_group, border

Specific parameters

tab_position
tab_width

Optional.

tab_min_width

Optional.

tab_max_width

Optional.

hide_tabs

Optional.