diff options
author | James Cook <james@lindenlab.com> | 2009-12-11 13:48:35 -0800 |
---|---|---|
committer | James Cook <james@lindenlab.com> | 2009-12-11 13:48:35 -0800 |
commit | fce0d168ae3e2e4380dc9aebbd5f68cd1f465f11 (patch) | |
tree | 0815e7a45872e30208151ae1bd51951466c7ff26 /indra/llui/lltabcontainer.cpp | |
parent | ae9ca1be630e47e2314eabf9b8edb16eadda9828 (diff) |
EXT-3233 Button label vertical placement cannot be adjusted via xml
Added bottom_pad attribute to widgets/button.xml and removed old
LLBUTTON_VPAD global and ButtonVPad saved setting.
Reviewed with Richard.
Diffstat (limited to 'indra/llui/lltabcontainer.cpp')
-rw-r--r-- | indra/llui/lltabcontainer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llui/lltabcontainer.cpp b/indra/llui/lltabcontainer.cpp index d7d61cf6cb..2d9106923e 100644 --- a/indra/llui/lltabcontainer.cpp +++ b/indra/llui/lltabcontainer.cpp @@ -906,7 +906,7 @@ void LLTabContainer::addTabPanel(const TabPanelParams& panel) if (placeholder) { - btn_rect.translate(0, -LLBUTTON_V_PAD-2); + btn_rect.translate(0, -3); // *TODO: make configurable LLTextBox::Params params; params.name(trimmed_label); params.rect(btn_rect); |