summaryrefslogtreecommitdiffstats
path: root/source/widgets/window.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/widgets/window.c')
-rw-r--r--source/widgets/window.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/widgets/window.c b/source/widgets/window.c
index 43683112..d73d23ea 100644
--- a/source/widgets/window.c
+++ b/source/widgets/window.c
@@ -60,6 +60,7 @@ static int window_get_desired_height ( widget *widget )
if ( b->child ) {
height += widget_get_desired_height ( b->child );
}
+ height += widget_padding_get_padding_height ( widget );
return height;
}