mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-29 16:31:05 +02:00
CComponentsWindow: fix fit of footer if using frame
Footer has been overpainted frame on bottom.
Origin commit data
------------------
Commit: 566698377d
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-09-09 (Mon, 09 Sep 2013)
This commit is contained in:
@@ -184,7 +184,7 @@ void CComponentsWindow::initBody()
|
|||||||
if (ccw_footer)
|
if (ccw_footer)
|
||||||
fh = ccw_footer->getHeight();
|
fh = ccw_footer->getHeight();
|
||||||
int hh = ccw_head->getHeight();
|
int hh = ccw_head->getHeight();
|
||||||
int h_body = height - hh - fh;
|
int h_body = height - hh - fh - 2*fr_thickness;
|
||||||
ccw_body->setDimensionsAll(0, CC_APPEND, width-2*fr_thickness, h_body);
|
ccw_body->setDimensionsAll(0, CC_APPEND, width-2*fr_thickness, h_body);
|
||||||
ccw_body->doPaintBg(false);
|
ccw_body->doPaintBg(false);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user