mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-01 09:51:13 +02:00
Merge branch 'master' of https://github.com/tuxbox-neutrino/gui-neutrino into ni/mp/tuxbox
Origin commit data
------------------
Commit: c7b4538921
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-11-19 (Sun, 19 Nov 2017)
This commit is contained in:
@@ -482,10 +482,8 @@ void CComponentsForm::paintCCItems()
|
||||
|
||||
//reduce corner radius, if we have a frame around parent item, ensure matching corners inside of embedded item, this avoids ugly unpainted spaces between frame and item border
|
||||
//TODO: other constellations not considered at the moment
|
||||
if (w_parent_frame){
|
||||
if(xpos <= fr_thickness || ypos <= fr_thickness)
|
||||
cc_item->setCorner(max(0, cc_item->getCornerRadius()-w_parent_frame), cc_item->getCornerType());
|
||||
}
|
||||
if (w_parent_frame)
|
||||
cc_item->setCorner(max(0, cc_item->getCornerRadius()- w_parent_frame), cc_item->getCornerType());
|
||||
|
||||
//These steps check whether the element can be painted into the container.
|
||||
//Is it too wide or too high, it will be shortened and displayed in the log.
|
||||
|
@@ -226,7 +226,7 @@ void CComponentsWindow::initFooter()
|
||||
ccw_footer->setPos(cc_xr + fr_thickness, cc_yr + height - ccw_footer->getHeight()- fr_thickness);
|
||||
ccw_footer->setWidth(width/*-2*fr_thickness*/);
|
||||
ccw_footer->enableShadow(false/*shadow*/);
|
||||
ccw_footer->setCorner(corner_rad-fr_thickness, CORNER_BOTTOM);
|
||||
ccw_footer->setCorner(corner_rad, CORNER_BOTTOM);
|
||||
ccw_footer->setButtonFont(ccw_button_font);
|
||||
ccw_footer->setColorBody(ccw_col_footer);
|
||||
ccw_footer->doPaintBg(true);
|
||||
|
Reference in New Issue
Block a user