From ccd72394fce28321dacea4bf495628a2cf18be66 Mon Sep 17 00:00:00 2001 From: woodser <13068859+woodser@users.noreply.github.com> Date: Wed, 30 Apr 2025 23:59:21 -0400 Subject: [PATCH] pulldown popup is rounded --- .../src/main/java/haveno/desktop/haveno.css | 26 +++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/desktop/src/main/java/haveno/desktop/haveno.css b/desktop/src/main/java/haveno/desktop/haveno.css index db6ab49cfd..fb2f4c2387 100644 --- a/desktop/src/main/java/haveno/desktop/haveno.css +++ b/desktop/src/main/java/haveno/desktop/haveno.css @@ -242,6 +242,32 @@ -fx-shape: "M 0 0 l 3.5 4 l 3.5 -4"; } +.combo-box-popup { + -fx-background-radius: 10; + -fx-border-radius: 10; + -fx-padding: 5; +} + +.combo-box-popup .scroll-pane { + -fx-background-radius: 10; + -fx-border-radius: 10; + -fx-padding: 5; +} + +.combo-box-popup > .list-view { + -fx-background-radius: 10; + -fx-border-radius: 10; + -fx-padding: 5; +} + +/* Rounds the first and last list cells to create full round illusion */ +.combo-box-popup .list-cell:first-child { + -fx-background-radius: 10 10 0 0; +} +.combo-box-popup .list-cell:last-child { + -fx-background-radius: 0 0 10 10; +} + .combo-box-popup .list-cell:hover { -fx-background-radius: 8; }