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
------------------
Branch: ni/coolstream
Commit: edd2e48bbe
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-10-13 (Thu, 13 Oct 2016)



------------------
This commit was generated by Migit
This commit is contained in:
2016-10-13 10:06:18 +02:00
parent b47c8f4a40
commit 1a119fcce2

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;