rustfmt and fixed not respecting kana preferences in ktr mode

This commit is contained in:
2024-03-26 14:11:46 +03:00
parent cb7ce267f9
commit 7ad2298676
3 changed files with 113 additions and 87 deletions

View File

@@ -7,10 +7,10 @@ pub fn build(text: &str) -> (Box, Switch, Label) {
.build();
let label: Label = Label::builder()
.valign(gtk::Align::End)
.halign(gtk::Align::BaselineCenter)
.label(text)
.build();
.valign(gtk::Align::End)
.halign(gtk::Align::BaselineCenter)
.label(text)
.build();
let container = Box::builder()
.orientation(gtk::Orientation::Horizontal)
@@ -20,4 +20,4 @@ pub fn build(text: &str) -> (Box, Switch, Label) {
container.append(&label);
(container, switch, label)
}
}