diff options
author | James Bursa <james@netsurf-browser.org> | 2004-02-22 22:22:50 +0000 |
---|---|---|
committer | James Bursa <james@netsurf-browser.org> | 2004-02-22 22:22:50 +0000 |
commit | 3a93e23b600498f4e0144c62008f8b1a85e2354a (patch) | |
tree | 50653ebb665a54b383b0bef4673dd3717d6f5886 /render/box.h | |
parent | a7f3829d558f768db5d2f7c783ccc08a9694f409 (diff) | |
download | netsurf-3a93e23b600498f4e0144c62008f8b1a85e2354a.tar.gz netsurf-3a93e23b600498f4e0144c62008f8b1a85e2354a.tar.bz2 |
[project @ 2004-02-22 22:22:50 by bursa]
Take margins, broder, padding into account in calculate_widths().
svn path=/import/netsurf/; revision=563
Diffstat (limited to 'render/box.h')
-rw-r--r-- | render/box.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/render/box.h b/render/box.h index c70dcb864..7e74da638 100644 --- a/render/box.h +++ b/render/box.h @@ -151,7 +151,8 @@ struct box { int padding[4]; /**< Padding: TOP, RIGHT, BOTTOM, LEFT. */ int border[4]; /**< Border width: TOP, RIGHT, BOTTOM, LEFT. */ - int min_width; /**< Width for content taking all line breaks. */ + /**< Width of box taking all line breaks (including margins etc.). */ + int min_width; int max_width; /**< Width that would be taken with no line breaks. */ char *text; /**< Text, or 0 if none. Unterminated. */ |