Mcdu: add margin and make all keys same size

This commit is contained in:
Julian Mutter 2024-02-07 20:52:35 +01:00
parent fc61870b7e
commit 6cb7abad4c
2 changed files with 5 additions and 1 deletions

View File

@ -54,7 +54,9 @@ impl AsyncComponent for AppModel {
set_hexpand: true,
},
},
model.mcdu.widget(),
model.mcdu.widget() {
set_margin_all: 10,
},
}
}
}

View File

@ -50,6 +50,8 @@ impl SimpleComponent for McduModel {
},
#[name = "keyboard"]
gtk::Grid {
set_column_homogeneous: true,
set_row_homogeneous: true,
set_column_spacing: 5,
set_row_spacing: 5,
}