summaryrefslogtreecommitdiff
path: root/indra/llui
diff options
context:
space:
mode:
authorAndrey Kleshchev <andreykproductengine@lindenlab.com>2023-06-24 01:49:27 +0300
committerAndrey Kleshchev <andreykproductengine@lindenlab.com>2023-06-24 01:49:27 +0300
commit65fe37a93029e17f45e488619a5e589a2983757f (patch)
treec1b6055d869cdbf5f742a31848c0b01237a8ca87 /indra/llui
parentf30ae5c7812f5449a327a470fd4acaed7546d853 (diff)
SL-19604 Fix gallery view having huge ident at the bottom
Diffstat (limited to 'indra/llui')
-rw-r--r--indra/llui/lllayoutstack.cpp9
-rw-r--r--indra/llui/lllayoutstack.h1
2 files changed, 10 insertions, 0 deletions
diff --git a/indra/llui/lllayoutstack.cpp b/indra/llui/lllayoutstack.cpp
index 08ce31ffc5..b1968e6a42 100644
--- a/indra/llui/lllayoutstack.cpp
+++ b/indra/llui/lllayoutstack.cpp
@@ -523,6 +523,15 @@ void LLLayoutStack::updateLayout()
mNeedsLayout = continue_animating;
} // end LLLayoutStack::updateLayout
+void LLLayoutStack::setPanelSpacing(S32 val)
+{
+ if (mPanelSpacing != val)
+ {
+ mPanelSpacing = val;
+ mNeedsLayout = true;
+ }
+}
+
LLLayoutPanel* LLLayoutStack::findEmbeddedPanel(LLPanel* panelp) const
{
if (!panelp) return NULL;
diff --git a/indra/llui/lllayoutstack.h b/indra/llui/lllayoutstack.h
index 02685281ef..000b919ae7 100644
--- a/indra/llui/lllayoutstack.h
+++ b/indra/llui/lllayoutstack.h
@@ -91,6 +91,7 @@ public:
void updateLayout();
S32 getPanelSpacing() const { return mPanelSpacing; }
+ void setPanelSpacing(S32 val);
static void updateClass();