💥 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({
|
new Widget.Button({
|
||||||
className: "more",
|
className: "more",
|
||||||
label: "More settings",
|
label: "More settings",
|
||||||
xalign: 0
|
setup: (self) => self.set_alignment(0, 0.5)
|
||||||
} as Widget.ButtonProps)
|
} as Widget.ButtonProps)
|
||||||
]
|
]
|
||||||
} as Widget.BoxProps)
|
} as Widget.BoxProps)
|
||||||
|
|||||||
@@ -99,7 +99,7 @@ export const PageNetwork: (() => Page) = () => new Page({
|
|||||||
} as SeparatorProps),
|
} as SeparatorProps),
|
||||||
new Widget.Button({
|
new Widget.Button({
|
||||||
label: "More settings",
|
label: "More settings",
|
||||||
xalign: 0,
|
setup: (self) => self.set_alignment(0, 0.5),
|
||||||
onClick: () => {
|
onClick: () => {
|
||||||
Windows.close("control-center");
|
Windows.close("control-center");
|
||||||
AstalHyprland.get_default().dispatch("exec", "[animationstyle gnomed] nm-connection-editor");
|
AstalHyprland.get_default().dispatch("exec", "[animationstyle gnomed] nm-connection-editor");
|
||||||
|
|||||||
Reference in New Issue
Block a user