diff options
author | Caolán McNamara <caolanm@redhat.com> | 2013-06-24 12:42:39 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-06-24 14:40:40 +0100 |
commit | 9495e912797f67897a4a658d20137bb94f39e9ab (patch) | |
tree | 6359cf3194cfd6ed41a8dfd1571f5309f1c3231c /include | |
parent | 97f71c5f8be85f47d7978259a2d82708412043fd (diff) |
Resolves: fdo#66105 set max growth width for labels/edits which take paths
Change-Id: I12220821f76550baacdc8ce604f2e612d260c1a1
Diffstat (limited to 'include')
-rw-r--r-- | include/vcl/edit.hxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/vcl/edit.hxx b/include/vcl/edit.hxx index 11c1ae8c1d6b..6df1f7b8fd25 100644 --- a/include/vcl/edit.hxx +++ b/include/vcl/edit.hxx @@ -71,6 +71,7 @@ private: sal_uInt16 mnAlign; xub_StrLen mnMaxTextLen; sal_Int32 mnWidthInChars; + sal_Int32 mnMaxWidthChars; AutocompleteAction meAutocompleteAction; sal_Unicode mcEchoChar; sal_Bool mbModified:1, @@ -193,6 +194,8 @@ public: void SetWidthInChars(sal_Int32 nWidthInChars); sal_Int32 GetWidthInChars() const { return mnWidthInChars; } + void setMaxWidthChars(sal_Int32 nWidth); + virtual void SetSelection( const Selection& rSelection ); virtual const Selection& GetSelection() const; |