mirror of
https://gitlab.com/liyaowhen/youtubecollector-git.git
synced 2026-10-01 01:12:59 +00:00
fixed issue where when requesting playlist deletion mode, the trash button was hidden
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
namespace Song {
|
||||
public class PlaylistButton : Gtk.Box {
|
||||
|
||||
private Settings settings = new Settings ("com.liyaowhen.Song");
|
||||
|
||||
public PlaylistObject playlist;
|
||||
private Gtk.Button remove_button;
|
||||
@@ -14,7 +13,6 @@ namespace Song {
|
||||
|
||||
construct {
|
||||
|
||||
|
||||
orientation = Gtk.Orientation.HORIZONTAL;
|
||||
add_css_class("toolbar");
|
||||
remove_button = new Gtk.Button.from_icon_name("app-remove-symbolic");
|
||||
@@ -34,6 +32,7 @@ namespace Song {
|
||||
main_button.hexpand = true;
|
||||
append(main_button);
|
||||
append(remove_button_revealer);
|
||||
main_button.can_shrink = true;
|
||||
|
||||
hexpand = true;
|
||||
|
||||
|
||||
@@ -19,6 +19,7 @@ namespace Song {
|
||||
var toolbar_view = new Adw.ToolbarView();
|
||||
|
||||
var scroll_box = new Gtk.ScrolledWindow();
|
||||
scroll_box.hscrollbar_policy = Gtk.PolicyType.NEVER;
|
||||
side_bar_content = new SideBarContent ();
|
||||
side_bar_content.set_vexpand (true);
|
||||
side_bar_content.set_hexpand (true);
|
||||
|
||||
Reference in New Issue
Block a user