Small changes
This commit is contained in:
+6
-5
@@ -101,17 +101,17 @@ impl WordState {
|
||||
text!("Ключ"),
|
||||
text_input("key", &self.word.key).on_input(SetKey),
|
||||
]
|
||||
.spacing(DEFAULT_SPACING / 4.0),
|
||||
.spacing(QUARTER_SPACING),
|
||||
column![
|
||||
text!("Значение"),
|
||||
text_input("value", &self.word.value).on_input(SetValue),
|
||||
]
|
||||
.spacing(DEFAULT_SPACING / 4.0),
|
||||
.spacing(QUARTER_SPACING),
|
||||
column![
|
||||
text!("Теги"),
|
||||
text_input("tags", &self.word.tags).on_input(SetTags),
|
||||
]
|
||||
.spacing(DEFAULT_SPACING / 4.0),
|
||||
.spacing(QUARTER_SPACING),
|
||||
rule::horizontal(2),
|
||||
scrollable(fast_add),
|
||||
];
|
||||
@@ -175,12 +175,13 @@ impl WordState {
|
||||
.on_press(RemoveAdditional(id.clone()))
|
||||
.style(danger),
|
||||
]
|
||||
.spacing(DEFAULT_SPACING / 4.0),
|
||||
.spacing(QUARTER_SPACING),
|
||||
]
|
||||
.spacing(DEFAULT_SPACING / 4.0)
|
||||
.spacing(QUARTER_SPACING)
|
||||
.into()
|
||||
}
|
||||
}
|
||||
|
||||
#[derive(Debug, Clone)]
|
||||
pub enum WordMessage {
|
||||
Save,
|
||||
|
||||
Reference in New Issue
Block a user