aboutsummaryrefslogtreecommitdiff
path: root/dw/textblock.hh
diff options
context:
space:
mode:
authorSebastian Geerken <devnull@localhost>2016-06-18 14:29:21 +0200
committerSebastian Geerken <devnull@localhost>2016-06-18 14:29:21 +0200
commit0f477f0eb575b5d060e8c2e2dbcbcded5703ad94 (patch)
tree34ff43a68b28b59a71548314c9effdc686c783a1 /dw/textblock.hh
parentf26132d1a2e3850e155706b02b4df5d7c5251f68 (diff)
Fix <button> size (treat as inline).
Diffstat (limited to 'dw/textblock.hh')
-rw-r--r--dw/textblock.hh5
1 files changed, 3 insertions, 2 deletions
diff --git a/dw/textblock.hh b/dw/textblock.hh
index fd92b636..dc4805e1 100644
--- a/dw/textblock.hh
+++ b/dw/textblock.hh
@@ -570,7 +570,8 @@ protected:
static int stretchabilityFactor;
bool limitTextWidth; /* from preferences */
-
+ bool treatAsInline;
+
int redrawY;
int lastWordDrawn;
@@ -876,7 +877,7 @@ public:
{ return !testStyleOutOfFlow (style) ||
testStyleRelativelyPositioned (style); }
- Textblock (bool limitTextWidth);
+ Textblock (bool limitTextWidth, bool treatAsInline = false);
~Textblock ();
core::Iterator *iterator (core::Content::Type mask, bool atEnd);