diff options
| author | Maxim Nikolenko <maximnproductengine@lindenlab.com> | 2026-03-19 00:08:44 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-03-19 00:08:44 +0200 |
| commit | 1bd6893388ed939f3d4628be2b5f00de49350d50 (patch) | |
| tree | 4299fe4368df8aa02972ba0b56ae68dd59eb38cc /indra/llui/lllayoutstack.h | |
| parent | 76d8316e4f2c9ab662c4e94474edf8505ea9480f (diff) | |
| parent | 1dca8b3257d6ac3fb56b28f4368aa0c00eb4795c (diff) | |
Merge pull request #5509 from secondlife/maxim/login_form_update
#5462 Login form update
Diffstat (limited to 'indra/llui/lllayoutstack.h')
| -rw-r--r-- | indra/llui/lllayoutstack.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/indra/llui/lllayoutstack.h b/indra/llui/lllayoutstack.h index 9e3536aaff..4c78c8a289 100644 --- a/indra/llui/lllayoutstack.h +++ b/indra/llui/lllayoutstack.h @@ -140,7 +140,8 @@ public: struct Params : public LLInitParam::Block<Params, LLPanel::Params> { Optional<S32> expanded_min_dim, - min_dim; + min_dim, + max_dim; Optional<bool> user_resize, auto_resize; @@ -164,6 +165,8 @@ public: S32 getMinDim() const { return llmax(0, mMinDim); } void setMinDim(S32 value) { mMinDim = value; } + void setMaxDim(S32 value) { mMaxDim = value < 0 ? S32_MAX : value; } + S32 getExpandedMinDim() const { return mExpandedMinDim >= 0 ? mExpandedMinDim : getMinDim(); } void setExpandedMinDim(S32 value) { mExpandedMinDim = value; } @@ -198,6 +201,7 @@ protected: S32 mExpandedMinDim; S32 mMinDim; + S32 mMaxDim; bool mCollapsed; F32 mVisibleAmt; F32 mCollapseAmt; |
