diff options
author | 2022-08-04 03:58:00 +0200 | |
---|---|---|
committer | 2022-08-04 03:58:00 +0200 | |
commit | 7021b940c29a037374288c0d771c0f6e8f4ae231 (patch) | |
tree | 63942d05122b24f29519a1ce2bade68308640a62 /native/src/overlay | |
parent | c44267b85f7aaa2997e3caf1323b837d95818c22 (diff) | |
parent | 0c13af179ff72ee27bea48e394a16cfc14257163 (diff) | |
download | iced-7021b940c29a037374288c0d771c0f6e8f4ae231.tar.gz iced-7021b940c29a037374288c0d771c0f6e8f4ae231.tar.bz2 iced-7021b940c29a037374288c0d771c0f6e8f4ae231.zip |
Merge pull request #1396 from nicksenger/style/menu-border-radius
Allow specification of `border_radius` for `pick_list::Menu`
Diffstat (limited to 'native/src/overlay')
-rw-r--r-- | native/src/overlay/menu.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/native/src/overlay/menu.rs b/native/src/overlay/menu.rs index fc3f52b2..7b8d4d9e 100644 --- a/native/src/overlay/menu.rs +++ b/native/src/overlay/menu.rs @@ -273,7 +273,7 @@ where }, border_color: appearance.border_color, border_width: appearance.border_width, - border_radius: 0.0, + border_radius: appearance.border_radius, }, appearance.background, ); @@ -461,7 +461,7 @@ where bounds, border_color: Color::TRANSPARENT, border_width: 0.0, - border_radius: 0.0, + border_radius: appearance.border_radius, }, appearance.selected_background, ); |