mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-29 16:31:05 +02:00
CMenuItem: use reasonable radius
In some views the large radius looks too chunky.
Origin commit data
------------------
Branch: ni/coolstream
Commit: 264366c792
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-09-24 (Sat, 24 Sep 2016)
------------------
This commit was generated by Migit
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);
|
||||
col.setFrameThickness(3);
|
||||
col.setCorner(RADIUS_LARGE);
|
||||
col.setCorner(RADIUS_SMALL);
|
||||
col.paint(false);
|
||||
}
|
||||
if (*right_text) {
|
||||
|
Reference in New Issue
Block a user