summaryrefslogtreecommitdiffstats
path: root/examples/styling
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón <hector0193@gmail.com>2020-03-25 14:31:25 +0100
committerLibravatar GitHub <noreply@github.com>2020-03-25 14:31:25 +0100
commit643fa18cae19fa1418a23b652b6b4b8bf8ef79fc (patch)
treec40bf003b7702cdc751c4d6b4adfd79c3ff63633 /examples/styling
parentfd7d9622e333a0a2cd5c2e8e6cc38cc09d7981e4 (diff)
parentbc10ca501ba012dbd379ade93e27bc012c08c2f1 (diff)
downloadiced-643fa18cae19fa1418a23b652b6b4b8bf8ef79fc.tar.gz
iced-643fa18cae19fa1418a23b652b6b4b8bf8ef79fc.tar.bz2
iced-643fa18cae19fa1418a23b652b6b4b8bf8ef79fc.zip
Merge pull request #202 from FabianLars/master
Text Selection for text_input widget
Diffstat (limited to 'examples/styling')
-rw-r--r--examples/styling/src/main.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/examples/styling/src/main.rs b/examples/styling/src/main.rs
index d6f41b04..63ab9d62 100644
--- a/examples/styling/src/main.rs
+++ b/examples/styling/src/main.rs
@@ -355,6 +355,10 @@ mod style {
fn value_color(&self) -> Color {
Color::WHITE
}
+
+ fn selection_color(&self) -> Color {
+ ACTIVE
+ }
}
pub struct Button;