The plain `AdwDialog`s with the accept button in the header bar are not wanted; restore the `AdwAlertDialog` versions of "Create an identity key" and "Import an identity key". The clipping they were meant to fix was the window height, not the dialog style: the identities window is a fixed size and GTK never resizes a mapped window, so its default has to fit the first-run empty state and the dialogs. Keep the taller window (420x560); the width goes back to the original 420. Reverts most of the previous commit.
14 lines
225 B
Plaintext
14 lines
225 B
Plaintext
using Gtk 4.0;
|
|
using Adw 1;
|
|
|
|
Adw.ApplicationWindow keys_window {
|
|
title: "Identities";
|
|
default-width: 420;
|
|
default-height: 560;
|
|
|
|
content: Adw.ToolbarView toolbar_view {
|
|
[top]
|
|
Adw.HeaderBar header_bar {}
|
|
};
|
|
}
|