Small changes

This commit is contained in:
2026-08-04 14:09:40 +03:00
parent 64fbfb5a32
commit a222233290
9 changed files with 89 additions and 46 deletions
+6 -5
View File
@@ -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,