diff options
Diffstat (limited to 'dw/widget.hh')
-rw-r--r-- | dw/widget.hh | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/dw/widget.hh b/dw/widget.hh index fb3eebf2..46fdf856 100644 --- a/dw/widget.hh +++ b/dw/widget.hh @@ -180,10 +180,8 @@ protected: Allocation allocation; inline int getHeight () { return allocation.ascent + allocation.descent; } - inline int getContentWidth() { return allocation.width - - style->boxDiffWidth (); } - inline int getContentHeight() { return getHeight () - - style->boxDiffHeight (); } + inline int getContentWidth() { return allocation.width - boxDiffWidth (); } + inline int getContentHeight() { return getHeight () - boxDiffHeight (); } Layout *layout; |