diff options
author | Caolán McNamara <caolanm@redhat.com> | 2013-07-03 11:36:51 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-07-03 12:46:31 +0100 |
commit | f19cc396580726f9fa1c75a2b6346e2a4827acc2 (patch) | |
tree | 38b89be9930fe59345c5048739bb975b49b76081 /include | |
parent | e8f34963459c973d681055d708166d43079b7eb7 (diff) |
metric and numeric boxes should calc optimal size based on legal input range
Change-Id: I8515f71a562caf8332a4eea20dab5636a9343ec6
Diffstat (limited to 'include')
-rw-r--r-- | include/vcl/field.hxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/vcl/field.hxx b/include/vcl/field.hxx index 67bf9a2ab255..13cec22d2cf1 100644 --- a/include/vcl/field.hxx +++ b/include/vcl/field.hxx @@ -722,6 +722,8 @@ public: explicit NumericBox( Window* pParent, const ResId& ); virtual ~NumericBox(); + virtual Size CalcMinimumSize() const; + virtual long PreNotify( NotifyEvent& rNEvt ); virtual long Notify( NotifyEvent& rNEvt ); virtual void DataChanged( const DataChangedEvent& rDCEvt ); @@ -749,6 +751,8 @@ public: virtual long Notify( NotifyEvent& rNEvt ); virtual void DataChanged( const DataChangedEvent& rDCEvt ); + virtual Size CalcMinimumSize() const; + virtual void Modify(); virtual void CustomConvert(); |