summaryrefslogtreecommitdiffstats
path: root/native/src/renderer/null.rs
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2020-01-01 18:26:49 +0100
committerLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2020-01-01 18:26:49 +0100
commit5af4159848341b14f6ff9ae14a9a222d8d8b0fb8 (patch)
tree436220784428b33b8e378403d11496db2d87884b /native/src/renderer/null.rs
parentd96ced8e2da703117a43399110ef2b8fa21a7546 (diff)
downloadiced-5af4159848341b14f6ff9ae14a9a222d8d8b0fb8.tar.gz
iced-5af4159848341b14f6ff9ae14a9a222d8d8b0fb8.tar.bz2
iced-5af4159848341b14f6ff9ae14a9a222d8d8b0fb8.zip
Draft basic styling for `TextInput`
Diffstat (limited to 'native/src/renderer/null.rs')
-rw-r--r--native/src/renderer/null.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/native/src/renderer/null.rs b/native/src/renderer/null.rs
index 56d7e472..96aa132c 100644
--- a/native/src/renderer/null.rs
+++ b/native/src/renderer/null.rs
@@ -97,6 +97,8 @@ impl scrollable::Renderer for Null {
}
impl text_input::Renderer for Null {
+ type Style = ();
+
fn default_size(&self) -> u16 {
20
}
@@ -124,6 +126,7 @@ impl text_input::Renderer for Null {
_placeholder: &str,
_value: &text_input::Value,
_state: &text_input::State,
+ _style: &Self::Style,
) -> Self::Output {
}
}