Grid .add() to .push()
Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de>
This commit is contained in:
@@ -60,7 +60,7 @@ struct Environment {
|
||||
}
|
||||
|
||||
/// Handles the requests of the `PolicyCheckView`.
|
||||
#[derive(Default, AsAny)]
|
||||
#[derive(AsAny, Default)]
|
||||
pub struct PolicyCheckState {
|
||||
action: Option<Action>,
|
||||
duration: Duration,
|
||||
@@ -643,20 +643,20 @@ impl State for PolicyCheckState {
|
||||
Grid::new()
|
||||
.id(ID_POLICY_CHECK_MENU)
|
||||
.columns(
|
||||
Columns::new()
|
||||
Columns::create()
|
||||
// Menu Button
|
||||
.add("80")
|
||||
.push("80")
|
||||
// Seperator
|
||||
.add("1")
|
||||
.push("1")
|
||||
// Keyboard Shortcut
|
||||
.add("*")
|
||||
.push("*")
|
||||
.build(),
|
||||
)
|
||||
.rows(
|
||||
Rows::new()
|
||||
.add("auto")
|
||||
.add("auto")
|
||||
.add("auto")
|
||||
Rows::create()
|
||||
.push("auto")
|
||||
.push("auto")
|
||||
.push("auto")
|
||||
.build(),
|
||||
)
|
||||
.child(
|
||||
|
||||
Reference in New Issue
Block a user