mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-03 02:41:12 +02:00
CComponentsHeader: use height of header as default height for icon space
Origin commit data
------------------
Commit: 6bdd8cd771
Author: Thilo Graf <dbt@novatux.de>
Date: 2012-11-09 (Fri, 09 Nov 2012)
This commit is contained in:
@@ -1735,7 +1735,7 @@ void CComponentsHeader::paint(bool do_save_bg)
|
||||
int cch_icon_x = 0;
|
||||
if (cch_icon_name)
|
||||
cch_icon_obj = new CComponentsPicture(cch_icon_x, cch_items_y, 0, 0, cch_icon_name);
|
||||
cch_icon_obj->setWidth(48);
|
||||
cch_icon_obj->setWidth(height-2*fr_thickness);
|
||||
cch_icon_obj->setHeight(height);
|
||||
cch_icon_obj->setPictureAlign(CC_ALIGN_HOR_CENTER | CC_ALIGN_VER_CENTER);
|
||||
cch_icon_obj->doPaintBg(false);
|
||||
|
Reference in New Issue
Block a user