diff options
author | Richard Linden <none@none> | 2011-09-20 16:37:21 -0700 |
---|---|---|
committer | Richard Linden <none@none> | 2011-09-20 16:37:21 -0700 |
commit | 64f30a302dfbcaf56502676fa4b8d8a06f355b40 (patch) | |
tree | 33cc60eb960181fa35142c7dffcb26f4efef9e2e /indra/newview/skins/default | |
parent | 3df9545017a4835e162801d3e8a13d68c8bc44ad (diff) |
EXP-1228 FIX Create toolbar widget class that displays list of buttons horizontally or vertically
buttons are now centered and sized according to content
created floater_test_toolbar.xml to test
Diffstat (limited to 'indra/newview/skins/default')
-rw-r--r-- | indra/newview/skins/default/xui/en/floater_test_toolbar.xml | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/indra/newview/skins/default/xui/en/floater_test_toolbar.xml b/indra/newview/skins/default/xui/en/floater_test_toolbar.xml new file mode 100644 index 0000000000..55cfd462ac --- /dev/null +++ b/indra/newview/skins/default/xui/en/floater_test_toolbar.xml @@ -0,0 +1,42 @@ +<?xml version="1.0" encoding="utf-8" standalone="yes" ?> +<floater + legacy_header_height="18" + can_resize="true" + height="500" + layout="topleft" + name="floater_test_toolbar" + translate="false" + width="500"> + <toolbar name="test_toolbar_horizontal" + follows="left|right|top" + height="50" + width="500" + left="0" + top="20" + orientation="horizontal"> + <button width="0" + auto_resize="true" + label="Button 1"/> + <button width="0" + auto_resize="true" + label="Button with long label"/> + <button width="0" + auto_resize="true" + label="Button with longest label of all"/> + </toolbar> + <toolbar name="test_toolbar_vertical" + follows="left|bottom|top" + height="430" + width="100" + left="0" + top="70" + orientation="vertical"> + <button height="30" + label="Button 1"/> + <button height="50" + label="Button 2"/> + <button height="60" + label="Button 3"/> + </toolbar> + +</floater> |