authPrompt: Right align cancel button

The cancel button should always hug the input controls
to the right of it.

This commit fixes that.
This commit is contained in:
Ray Strode 2024-02-06 13:48:26 -05:00
parent c05d8c3299
commit 81d1903c4d

View file

@ -152,7 +152,7 @@ export const AuthPrompt = GObject.registerClass({
button_mask: St.ButtonMask.ONE | St.ButtonMask.THREE,
reactive: this._hasCancelButton,
can_focus: this._hasCancelButton,
x_align: Clutter.ActorAlign.START,
x_align: Clutter.ActorAlign.END,
y_align: Clutter.ActorAlign.CENTER,
icon_name: 'go-previous-symbolic',
});