diff options
author | Sebastian Geerken <devnull@localhost> | 2014-06-13 12:16:16 +0200 |
---|---|---|
committer | Sebastian Geerken <devnull@localhost> | 2014-06-13 12:16:16 +0200 |
commit | 58e6536d3e9a387eadf740b98dfa89c5a37a5d58 (patch) | |
tree | 3d95c73a26b60715e10d4d6b6fe15b1546573768 /dw/ruler.cc | |
parent | b068e76b797c92c92b9f363dd7cb1967fdff5b5b (diff) |
Added (again) 'forceValue' parameter for calculation of available size.
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 b014654d..5525f21b 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 (), + requisition->width = lout::misc::max (getAvailWidth (true), getStyle()->boxDiffWidth ()); requisition->ascent = getStyle()->boxOffsetY (); requisition->descent = getStyle()->boxRestHeight (); |