aboutsummaryrefslogtreecommitdiff
path: root/dw/ruler.cc
diff options
context:
space:
mode:
Diffstat (limited to 'dw/ruler.cc')
-rw-r--r--dw/ruler.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/dw/ruler.cc b/dw/ruler.cc
index 5525f21b..3d3bc0b8 100644
--- a/dw/ruler.cc
+++ b/dw/ruler.cc
@@ -51,6 +51,11 @@ bool Ruler::isBlockLevel ()
return true;
}
+bool Ruler::usesAvailWidth ()
+{
+ return true;
+}
+
void Ruler::draw (core::View *view, core::Rectangle *area)
{
drawWidgetBox (view, area, false);