💥 ags(control-center/pages): fix xalign on button deprecated warning
This commit is contained in:
@@ -97,7 +97,7 @@ export const BluetoothPage: (() => Page) = () => new Page({
|
||||
new Widget.Button({
|
||||
className: "more",
|
||||
label: "More settings",
|
||||
xalign: 0
|
||||
setup: (self) => self.set_alignment(0, 0.5)
|
||||
} as Widget.ButtonProps)
|
||||
]
|
||||
} as Widget.BoxProps)
|
||||
|
||||
@@ -99,7 +99,7 @@ export const PageNetwork: (() => Page) = () => new Page({
|
||||
} as SeparatorProps),
|
||||
new Widget.Button({
|
||||
label: "More settings",
|
||||
xalign: 0,
|
||||
setup: (self) => self.set_alignment(0, 0.5),
|
||||
onClick: () => {
|
||||
Windows.close("control-center");
|
||||
AstalHyprland.get_default().dispatch("exec", "[animationstyle gnomed] nm-connection-editor");
|
||||
|
||||
Reference in New Issue
Block a user