diff options
author | Sebastian Geerken <devnull@localhost> | 2014-05-30 20:44:27 +0200 |
---|---|---|
committer | Sebastian Geerken <devnull@localhost> | 2014-05-30 20:44:27 +0200 |
commit | d83834b8684ab3e6143de2ac128b46f4d76492a1 (patch) | |
tree | f83c3493098caf9e89a162f26653c776bad4b205 /dw/ruler.cc | |
parent | c3c97fcf013045be850dde4ba9635ce97a0ab47e (diff) |
GROWS: First work on correctRequisition.
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 3599c32a..c19b30c0 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 (); |