From edd2e48bbe35801acae4cd81cad4a3a488baa3fe Mon Sep 17 00:00:00 2001 From: Thilo Graf Date: Thu, 13 Oct 2016 10:06:18 +0200 Subject: [PATCH] CComponentsForm: try to fix possible transparent bars Ion enabled frame it's possible we have transparent bars between frame and the last item on window bottom. This should avoid this. --- src/gui/components/cc_frm.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/components/cc_frm.cpp b/src/gui/components/cc_frm.cpp index 45c086101..3efb2da8b 100644 --- a/src/gui/components/cc_frm.cpp +++ b/src/gui/components/cc_frm.cpp @@ -492,7 +492,7 @@ void CComponentsForm::paintCCItems() } //check height and adapt if required - int bottom_frm = (cc_parent ? cc_yr : y) + height - 2*fr_thickness; + int bottom_frm = (cc_parent ? cc_yr : y) + height/* - 2*fr_thickness*/; int bottom_item = cc_item->getRealYPos() + h_item; int h_diff = bottom_item - bottom_frm; int new_h = h_item - h_diff;