🏡 index : quine-global-labs/bazaar.git

using Gtk 4.0;
using Adw 1;

template $BzReleasesDialog: Adw.Dialog {
  title: _("Version History");
  content-width: 550;
  content-height: 600;

  child: Adw.ToolbarView {
    [top]
    Adw.HeaderBar {
      show-title: true;
    }

    content: ScrolledWindow {
      propagate-natural-height: true;
      vexpand: true;
      hscrollbar-policy: never;

      child: Adw.Clamp {
        maximum-size: 500;
        tightening-threshold: 600;
        margin-top: 24;
        margin-bottom: 24;
        margin-start: 12;
        margin-end: 12;

        child: Adw.Bin content_bin {
          valign: start;
        };
      };
    };
  };
}