diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-10-26 09:15:43 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-10-26 12:12:03 +0100 |
commit | 55619c1028b31f55c5b205ce3615bd606f5414f0 (patch) | |
tree | 99753d34e49027821b742b96f14eff0fc55e1676 /vcl/inc | |
parent | aed681368255b67f1c9de8d501d171a784118dd3 (diff) |
set width in chars for url field to avoid character dialog overgrowing
Change-Id: I892a77f65ad420d0fbf4b95179e4bcfc2ec55192
Diffstat (limited to 'vcl/inc')
-rw-r--r-- | vcl/inc/vcl/edit.hxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/vcl/inc/vcl/edit.hxx b/vcl/inc/vcl/edit.hxx index 5cb189c4614b..bcd0463c4621 100644 --- a/vcl/inc/vcl/edit.hxx +++ b/vcl/inc/vcl/edit.hxx @@ -78,7 +78,7 @@ private: Selection maSelection; sal_uInt16 mnAlign; xub_StrLen mnMaxTextLen; - sal_Int32 mnMinWidthInChars; + sal_Int32 mnWidthInChars; AutocompleteAction meAutocompleteAction; sal_Unicode mcEchoChar; sal_Bool mbModified:1, @@ -199,8 +199,8 @@ public: virtual void SetMaxTextLen( xub_StrLen nMaxLen = EDIT_NOLIMIT ); virtual xub_StrLen GetMaxTextLen() const { return mnMaxTextLen; } - void SetMinWidthInChars(sal_Int32 nMinWidthInChars); - sal_Int32 GetMinWidthInChars() const { return mnMinWidthInChars; } + void SetWidthInChars(sal_Int32 nWidthInChars); + sal_Int32 GetWidthInChars() const { return mnWidthInChars; } virtual void SetSelection( const Selection& rSelection ); virtual const Selection& GetSelection() const; |