Mcdu: add margin and make all keys same size
This commit is contained in:
parent
fc61870b7e
commit
6cb7abad4c
@ -54,7 +54,9 @@ impl AsyncComponent for AppModel {
|
|||||||
set_hexpand: true,
|
set_hexpand: true,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
model.mcdu.widget(),
|
model.mcdu.widget() {
|
||||||
|
set_margin_all: 10,
|
||||||
|
},
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -50,6 +50,8 @@ impl SimpleComponent for McduModel {
|
|||||||
},
|
},
|
||||||
#[name = "keyboard"]
|
#[name = "keyboard"]
|
||||||
gtk::Grid {
|
gtk::Grid {
|
||||||
|
set_column_homogeneous: true,
|
||||||
|
set_row_homogeneous: true,
|
||||||
set_column_spacing: 5,
|
set_column_spacing: 5,
|
||||||
set_row_spacing: 5,
|
set_row_spacing: 5,
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user