Skip to content

Commit

Permalink
fix showing process info view sidebar
Browse files Browse the repository at this point in the history
  • Loading branch information
stsdc committed Nov 23, 2023
1 parent ef5a39c commit e84497b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
1 change: 0 additions & 1 deletion src/MainWindow.vala
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,6 @@ public class Monitor.MainWindow : Gtk.ApplicationWindow {
orientation = Gtk.Orientation.VERTICAL
};

// grid.attach (headerbar, 0, 0, 1, 1);
grid.attach (stack, 0, 1, 1, 1);
grid.attach (statusbar, 0, 2, 1, 1);

Expand Down
7 changes: 2 additions & 5 deletions src/Views/ProcessView/ProcessView.vala
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,7 @@ public class Monitor.ProcessView : Gtk.Box {

// hide on startup
// process_info_view.no_show_all = true;
}

public ProcessView () {
treeview_model = TreeViewModel.get_default ();
treeview_model = TreeViewModel.get_default ();

process_tree_view = new CPUProcessTreeView (treeview_model);
process_tree_view.process_selected.connect ((process) => on_process_selected (process));
Expand All @@ -24,7 +21,7 @@ public class Monitor.ProcessView : Gtk.Box {
var paned = new Gtk.Paned (Gtk.Orientation.HORIZONTAL);
paned.set_start_child (process_tree_view_scrolled);
paned.set_end_child (process_info_view);
// paned.set_min_position (200);
paned.set_shrink_end_child (false);
paned.set_position (paned.max_position);
paned.set_hexpand (true);

Expand Down

0 comments on commit e84497b

Please sign in to comment.