CMenuItem: use reasonable radius

In some views the large radius looks too chunky.
This commit is contained in:
2016-09-24 20:58:22 +02:00
parent 7c4e1c20b8
commit 264366c792

View File

@@ -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) {