aboutsummaryrefslogtreecommitdiff
path: root/dw/widget.hh
diff options
context:
space:
mode:
Diffstat (limited to 'dw/widget.hh')
-rw-r--r--dw/widget.hh2
1 files changed, 2 insertions, 0 deletions
diff --git a/dw/widget.hh b/dw/widget.hh
index a1d0f908..cf0ffe46 100644
--- a/dw/widget.hh
+++ b/dw/widget.hh
@@ -506,6 +506,8 @@ public:
int limitMinWidth, bool forceValue, int *finalWidth);
int calcHeight (style::Length cssValue, bool usePercentage, int refHeight,
Widget *refWidget, bool forceValue);
+ static void adjustHeight (int *height, bool allowDecreaseHeight, int ascent,
+ int descent);
virtual int applyPerWidth (int containerWidth, style::Length perWidth);
virtual int applyPerHeight (int containerHeight, style::Length perHeight);