diff options
author | Sebastian Geerken <devnull@localhost> | 2014-08-02 13:34:01 +0200 |
---|---|---|
committer | Sebastian Geerken <devnull@localhost> | 2014-08-02 13:34:01 +0200 |
commit | f60364040eadc4891f479f51846ec896f47df013 (patch) | |
tree | 10d8999a7b4d4dde7c7042df3c7cc55852a52734 /dw/widget.hh | |
parent | 23a4ad7919ee6246edc59b97a947168600fab9b1 (diff) |
Implemented 'min-height' and 'max-height'.
Diffstat (limited to 'dw/widget.hh')
-rw-r--r-- | dw/widget.hh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/dw/widget.hh b/dw/widget.hh index 88bc2a61..c87b3a77 100644 --- a/dw/widget.hh +++ b/dw/widget.hh @@ -433,6 +433,8 @@ public: void correctExtremes (Extremes *extremes); int calcWidth (style::Length cssValue, int refWidth, Widget *refWidget, int minWidth); + int calcHeight (style::Length cssValue, bool usePercentage, int refHeight, + Widget *refWidget); virtual int applyPerWidth (int containerWidth, style::Length perWidth); virtual int applyPerHeight (int containerHeight, style::Length perHeight); |