mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 00:11:14 +02:00
- cc_frm_button: don't use frames per default and align fontsize
to familiar size
This commit is contained in:
@@ -110,7 +110,7 @@ void CComponentsButton::initVarButton( const int& x_pos, const int& y_pos, const
|
||||
|
||||
cc_item_enabled = enabled;
|
||||
cc_item_selected = selected;
|
||||
fr_thickness = 3; //TODO: parts of the GUI still don't use framed buttons
|
||||
fr_thickness = 0; //TODO: parts of the GUI still don't use framed buttons
|
||||
append_x_offset = 6;
|
||||
append_y_offset = 0;
|
||||
corner_rad = 0;
|
||||
@@ -192,7 +192,7 @@ void CComponentsButton::initCaption()
|
||||
x_cap += cc_btn_icon_obj ? cc_btn_icon_obj->getWidth() : 0;
|
||||
|
||||
int w_cap = width - fr_thickness - append_x_offset - x_cap - fr_thickness;
|
||||
int h_cap = height*85/100/* - 2*fr_thickness*/;
|
||||
int h_cap = height*65/100 /*- 2*fr_thickness*/;
|
||||
|
||||
/*NOTE:
|
||||
paint of centered text in y direction without y_offset
|
||||
|
Reference in New Issue
Block a user