diff options
author | Sebastian Geerken <devnull@localhost> | 2014-06-22 15:35:44 +0200 |
---|---|---|
committer | Sebastian Geerken <devnull@localhost> | 2014-06-22 15:35:44 +0200 |
commit | cdb265fcafd2c363f1a809afa702163d430e151d (patch) | |
tree | cd1890ed02be1b542648fe80e62b4d44c4d05d25 /dw/ruler.cc | |
parent | f743b2f6c876b5830ec088e3ed6d6cae2a1f980e (diff) |
Work on how percentage sizes are handled.
Diffstat (limited to 'dw/ruler.cc')
-rw-r--r-- | dw/ruler.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dw/ruler.cc b/dw/ruler.cc index 82cc3299..2459c1bd 100644 --- a/dw/ruler.cc +++ b/dw/ruler.cc @@ -34,8 +34,8 @@ Ruler::Ruler () void Ruler::sizeRequestImpl (core::Requisition *requisition) { - requisition->width = lout::misc::max (getAvailWidth (true), - getStyle()->boxDiffWidth ()); + requisition->width = + lout::misc::max (getAvailWidth (true), getStyle()->boxDiffWidth ()); requisition->ascent = getStyle()->boxOffsetY (); requisition->descent = getStyle()->boxRestHeight (); } |