From e8bf0fc0997740096cad74daa4b5a338ce808aad Mon Sep 17 00:00:00 2001 From: FabianLars Date: Sun, 23 Feb 2020 11:25:48 +0100 Subject: styling example fixed (added selection_color) --- examples/styling/src/main.rs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'examples/styling/src') diff --git a/examples/styling/src/main.rs b/examples/styling/src/main.rs index 47408624..e97389e9 100644 --- a/examples/styling/src/main.rs +++ b/examples/styling/src/main.rs @@ -354,6 +354,10 @@ mod style { fn value_color(&self) -> Color { Color::WHITE } + + fn selection_color(&self) -> Color { + Color::BLACK + } } pub struct Button; -- cgit From b30ddf90d2c74ab709aaadd9dd60815d17e2de63 Mon Sep 17 00:00:00 2001 From: Héctor Ramón Jiménez Date: Tue, 24 Mar 2020 21:51:56 +0100 Subject: Change selection color in `styling` example --- examples/styling/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/styling/src') diff --git a/examples/styling/src/main.rs b/examples/styling/src/main.rs index dfa168b6..63ab9d62 100644 --- a/examples/styling/src/main.rs +++ b/examples/styling/src/main.rs @@ -357,7 +357,7 @@ mod style { } fn selection_color(&self) -> Color { - Color::BLACK + ACTIVE } } -- cgit