diff options
author | James Cook <james@lindenlab.com> | 2009-11-24 11:39:22 -0800 |
---|---|---|
committer | James Cook <james@lindenlab.com> | 2009-11-24 11:39:22 -0800 |
commit | 58ee415c4972c37256cbd23e2c96cc5f644944d1 (patch) | |
tree | f5cdcafb3fcd9861b112de84f806115dab52a626 /indra/llui/lllineeditor.h | |
parent | f9081220accfe5c197f1c567af8806bde236f946 (diff) |
Fixed line editor right padding to work when left padding also assigned
Eliminated UILineEditorHPad and added 2 px of padding to all custom line
editors.
EXT-1735 Show parcel property icons
Review with Leyla pending
Diffstat (limited to 'indra/llui/lllineeditor.h')
-rw-r--r-- | indra/llui/lllineeditor.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/llui/lllineeditor.h b/indra/llui/lllineeditor.h index 4c4b00094d..b96220e020 100644 --- a/indra/llui/lllineeditor.h +++ b/indra/llui/lllineeditor.h @@ -303,8 +303,8 @@ protected: LLFrameTimer mScrollTimer; S32 mTextPadLeft; // Used to reserve space before the beginning of the text for children. S32 mTextPadRight; // Used to reserve space after the end of the text for children. - S32 mMinHPixels; - S32 mMaxHPixels; + S32 mTextLeftEdge; // Pixels, cached left edge of text based on left padding and width + S32 mTextRightEdge; // Pixels, cached right edge of text based on right padding and width BOOL mCommitOnFocusLost; BOOL mRevertOnEsc; |