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.


Origin commit data
------------------
Commit: edd2e48bbe
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-10-13 (Thu, 13 Oct 2016)
This commit is contained in:
2016-10-13 10:06:18 +02:00
parent c9972f68a0
commit 3278e0e103

View File

@@ -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;