aboutsummaryrefslogtreecommitdiff
path: root/dw/ui.cc
diff options
context:
space:
mode:
Diffstat (limited to 'dw/ui.cc')
-rw-r--r--dw/ui.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/dw/ui.cc b/dw/ui.cc
index 3bf70fea..67e3fabc 100644
--- a/dw/ui.cc
+++ b/dw/ui.cc
@@ -416,7 +416,7 @@ void ComplexButtonResource::correctRequisitionOfChild (Widget *child,
{
// Similar to Widget::correctRequisitionOfChild, but for percentage
// the relief has to be considered.
-
+
if (style::isPerLength (child->getStyle()->width)) {
int availWidth = getEmbed()->getAvailHeight (false);
if (availWidth != -1) {
@@ -441,7 +441,7 @@ void ComplexButtonResource::correctExtremesOfChild (Widget *child,
{
// Similar to Widget::correctExtremesOfChild, but for percentage
// the relief has to be considered.
-
+
if (style::isPerLength (child->getStyle()->width)) {
int availWidth = getEmbed()->getAvailHeight (false);
if (availWidth != -1) {