diff options
| author | 2020-03-25 14:31:25 +0100 | |
|---|---|---|
| committer | 2020-03-25 14:31:25 +0100 | |
| commit | 643fa18cae19fa1418a23b652b6b4b8bf8ef79fc (patch) | |
| tree | c40bf003b7702cdc751c4d6b4adfd79c3ff63633 /examples/styling | |
| parent | fd7d9622e333a0a2cd5c2e8e6cc38cc09d7981e4 (diff) | |
| parent | bc10ca501ba012dbd379ade93e27bc012c08c2f1 (diff) | |
| download | iced-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.rs | 4 | 
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;  | 
