diff options
author | Sebastian Geerken <devnull@localhost> | 2014-05-30 23:00:24 +0200 |
---|---|---|
committer | Sebastian Geerken <devnull@localhost> | 2014-05-30 23:00:24 +0200 |
commit | 8e3d7ef937a06cfc6bca7a6c96b3f8302ca14278 (patch) | |
tree | 64182ada9d04fdca6caad0ea0dfc97386a21a031 /dw/ruler.cc | |
parent | d5500ed25bcb5140ec285bbd87dc1c04638e93ba (diff) |
GROWS: 'forceValue' removed; getAvail* and friends must now return a value.
Diffstat (limited to 'dw/ruler.cc')
-rw-r--r-- | dw/ruler.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dw/ruler.cc b/dw/ruler.cc index c19b30c0..3599c32a 100644 --- a/dw/ruler.cc +++ b/dw/ruler.cc @@ -34,7 +34,7 @@ Ruler::Ruler () void Ruler::sizeRequestImpl (core::Requisition *requisition) { - requisition->width = lout::misc::max (getAvailWidth (true), + requisition->width = lout::misc::max (getAvailWidth (), getStyle()->boxDiffWidth ()); requisition->ascent = getStyle()->boxOffsetY (); requisition->descent = getStyle()->boxRestHeight (); |