Skip to content

Commit

Permalink
Add button to switch from full view back to mini view
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Lo Nigro <git@d.sb>
  • Loading branch information
Daniel15 committed Oct 18, 2024
1 parent 2672fee commit 5c6f955
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions src/WebCamControl.Gtk/FullWindow.blp
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,16 @@ Adw.ApplicationWindow full_window {
orientation: vertical;

Adw.HeaderBar {
title-widget: Adw.ViewSwitcher {
stack: stack;
policy: wide;
title-widget: Box {
Adw.ViewSwitcher {
stack: stack;
policy: wide;
}
Button {
action-name: "app.toggle_view";
icon-name: "view-restore-symbolic";
tooltip-text: _("Switch to mini view (Ctrl+T)");
}
};
}

Expand Down

0 comments on commit 5c6f955

Please sign in to comment.