diff options
author | Sebastian Geerken <devnull@localhost> | 2014-08-02 12:54:52 +0200 |
---|---|---|
committer | Sebastian Geerken <devnull@localhost> | 2014-08-02 12:54:52 +0200 |
commit | c4143d5106b2c5f47fa431c0eb0a4291591af292 (patch) | |
tree | e3fee29f1f87f0ef235b18c6a343087f7f645c1c /dw/widget.hh | |
parent | abac9a3d10e920dd86520c658b670f189985bd4a (diff) |
Implemented 'min-width' and 'max-width'.
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 2599d14c..88bc2a61 100644 --- a/dw/widget.hh +++ b/dw/widget.hh @@ -431,6 +431,8 @@ public: void correctRequisition (Requisition *requisition, void (*splitHeightFun) (int, int*, int*)); void correctExtremes (Extremes *extremes); + int calcWidth (style::Length cssValue, int refWidth, Widget *refWidget, + int minWidth); virtual int applyPerWidth (int containerWidth, style::Length perWidth); virtual int applyPerHeight (int containerHeight, style::Length perHeight); |