mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 16:31:11 +02:00
CComponentsWindow: adapt header and footer corners for parent window
Corners of header and footer were not adapted to parent form. It's unsightly, if these elements are not using the same corner types like the parent window.
This commit is contained in:
@@ -137,6 +137,7 @@ void CComponentsWindow::initHeader()
|
||||
ccw_head->setCaption(ccw_caption, ccw_align_mode);
|
||||
// ccw_head->initCCItems();
|
||||
ccw_head->setDefaultButtons(ccw_buttons);
|
||||
ccw_head->setCorner(corner_rad, CORNER_TOP);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -176,6 +177,7 @@ void CComponentsWindow::initFooter()
|
||||
ccw_footer->setPos(0, CC_APPEND);
|
||||
ccw_footer->setWidth(width-2*fr_thickness);
|
||||
ccw_footer->setShadowOnOff(shadow);
|
||||
ccw_footer->setCorner(corner_rad, CORNER_BOTTOM);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user