Fix power container build code
A tiny fix, no point in useing the macro to push widgets anyway.
This commit is contained in:
parent
3aaa272499
commit
435ee7f7a6
1 changed files with 10 additions and 10 deletions
|
|
@ -179,16 +179,16 @@ impl Application for Power {
|
||||||
.spacing(24)
|
.spacing(24)
|
||||||
.padding([0, 24]);
|
.padding([0, 24]);
|
||||||
|
|
||||||
let content = column![]
|
let content = column![
|
||||||
.align_items(Alignment::Start)
|
settings,
|
||||||
.spacing(12)
|
horizontal_rule(1),
|
||||||
.padding([24, 0])
|
session,
|
||||||
.push(settings)
|
horizontal_rule(1),
|
||||||
.push(horizontal_rule(1))
|
power
|
||||||
.push(session)
|
]
|
||||||
.push(horizontal_rule(1))
|
.align_items(Alignment::Start)
|
||||||
.push(power)
|
.spacing(12)
|
||||||
.padding(8);
|
.padding([8, 0]);
|
||||||
|
|
||||||
self.applet_helper.popup_container(content).into()
|
self.applet_helper.popup_container(content).into()
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue