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)
|
||||
.padding([0, 24]);
|
||||
|
||||
let content = column![]
|
||||
.align_items(Alignment::Start)
|
||||
.spacing(12)
|
||||
.padding([24, 0])
|
||||
.push(settings)
|
||||
.push(horizontal_rule(1))
|
||||
.push(session)
|
||||
.push(horizontal_rule(1))
|
||||
.push(power)
|
||||
.padding(8);
|
||||
let content = column![
|
||||
settings,
|
||||
horizontal_rule(1),
|
||||
session,
|
||||
horizontal_rule(1),
|
||||
power
|
||||
]
|
||||
.align_items(Alignment::Start)
|
||||
.spacing(12)
|
||||
.padding([8, 0]);
|
||||
|
||||
self.applet_helper.popup_container(content).into()
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue