Skip to content
This repository has been archived by the owner on May 17, 2024. It is now read-only.

Commit

Permalink
v17.5.1 (Beta 6)
Browse files Browse the repository at this point in the history
  • Loading branch information
teejee2008 committed May 21, 2017
1 parent a3d4788 commit 45efd86
Showing 1 changed file with 15 additions and 4 deletions.
19 changes: 15 additions & 4 deletions src/Gtk/MainHeaderBar.vala
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ public class MainHeaderBar : Gtk.HeaderBar {
}

private Gtk.ButtonBox crumbs;
private Gtk.ScrolledWindow scrolled;
//private Gtk.ScrolledWindow scrolled;
private ViewPopover view_popover;
private Gtk.MenuButton btn_menu;

Expand Down Expand Up @@ -93,6 +93,19 @@ public class MainHeaderBar : Gtk.HeaderBar {

private void init_ui() {

// scrolled
/*var scrolled = new Gtk.ScrolledWindow(null, null);
scrolled.hscrollbar_policy = PolicyType.NEVER; // clips child without showing scrollbar
scrolled.vscrollbar_policy = PolicyType.NEVER;
//scrolled.hexpand = true;
this.pack_start(scrolled);
var bbox = new Gtk.ButtonBox(Gtk.Orientation.HORIZONTAL);
bbox.set_layout(Gtk.ButtonBoxStyle.EXPAND);
bbox.set_homogeneous(false);
bbox.margin = 0;
scrolled.add(bbox);*/

add_back();

add_next();
Expand Down Expand Up @@ -237,11 +250,9 @@ public class MainHeaderBar : Gtk.HeaderBar {
private void add_crumbs(){

// scrolled
scrolled = new Gtk.ScrolledWindow(null, null);
//scrolled.hexpand = true;
var scrolled = new Gtk.ScrolledWindow(null, null);
scrolled.hscrollbar_policy = PolicyType.NEVER; // clips child without showing scrollbar
scrolled.vscrollbar_policy = PolicyType.NEVER;
//scrolled.set_shadow_type(ShadowType.ETCHED_IN);
this.pack_start(scrolled);

crumbs = new Gtk.ButtonBox(Gtk.Orientation.HORIZONTAL);
Expand Down

0 comments on commit 45efd86

Please sign in to comment.