Skip to content

Commit

Permalink
style: fix .blp
Browse files Browse the repository at this point in the history
  • Loading branch information
Rirusha committed Aug 11, 2024
1 parent b07742a commit b2c0a37
Showing 1 changed file with 52 additions and 52 deletions.
104 changes: 52 additions & 52 deletions data/ui/no-plus-dialog.blp
Original file line number Diff line number Diff line change
Expand Up @@ -2,56 +2,56 @@ using Gtk 4.0;
using Adw 1;

template $CassetteNoPlusDialog: Adw.Dialog {
width-request: 360;
content-width: 360;

Adw.ToolbarView {
top-bar-style: flat;

[top]
Adw.HeaderBar {}

content: Box {
orientation: vertical;

Adw.StatusPage {
vexpand: true;
icon-name: "dialog-warning-symbolic";
title: _("No Plus Subscription");
description: _("To avoid problems with Yandex, the online functions of the application are not available without a Yandex.Plus subscription. Thanks for understanding.");
}

ListBox {
styles [
"boxed-list-separate"
]

margin-top: 12;
margin-bottom: 12;
margin-start: 12;
margin-end: 12;
selection-mode: none;

Adw.ButtonRow get_plus_button {
styles [
"plus-button",
]

action-name: "app.get-plus";
title: _("Get Plus");
hexpand: true;
}

Adw.ButtonRow logout_button {
styles [
"destructive-action"
]

action-name: "app.log-out";
title: _("Log out");
hexpand: true;
}
}
};
}
width-request: 360;
content-width: 360;

Adw.ToolbarView {
top-bar-style: flat;

[top]
Adw.HeaderBar {}

content: Box {
orientation: vertical;

Adw.StatusPage {
vexpand: true;
icon-name: "dialog-warning-symbolic";
title: _("No Plus Subscription");
description: _("To avoid problems with Yandex, the online functions of the application are not available without a Yandex.Plus subscription. Thanks for understanding.");
}

ListBox {
styles [
"boxed-list-separate"
]

margin-top: 12;
margin-bottom: 12;
margin-start: 12;
margin-end: 12;
selection-mode: none;

Adw.ButtonRow get_plus_button {
styles [
"plus-button",
]

action-name: "app.get-plus";
title: _("Get Plus");
hexpand: true;
}

Adw.ButtonRow logout_button {
styles [
"destructive-action"
]

action-name: "app.log-out";
title: _("Log out");
hexpand: true;
}
}
};
}
}

0 comments on commit b2c0a37

Please sign in to comment.