mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-28 16:01:20 +02:00
CMenuItem: use reasonable radius
In some views the large radius looks too chunky.
This commit is contained in:
@@ -261,7 +261,7 @@ void CMenuItem::paintItemCaption(const bool select_mode, const char * right_text
|
|||||||
}
|
}
|
||||||
CComponentsShapeSquare col(stringstartposOption, y + 2, dx - stringstartposOption + x - 2, item_height - 4, NULL, false, right_frame_col, right_bg_col);
|
CComponentsShapeSquare col(stringstartposOption, y + 2, dx - stringstartposOption + x - 2, item_height - 4, NULL, false, right_frame_col, right_bg_col);
|
||||||
col.setFrameThickness(3);
|
col.setFrameThickness(3);
|
||||||
col.setCorner(RADIUS_LARGE);
|
col.setCorner(RADIUS_SMALL);
|
||||||
col.paint(false);
|
col.paint(false);
|
||||||
}
|
}
|
||||||
if (*right_text) {
|
if (*right_text) {
|
||||||
|
Reference in New Issue
Block a user