Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions src/AppChooser/AppButton.vala
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,14 @@ public class AppChooser.AppButton : Gtk.ListBoxRow {
ellipsize = Pango.EllipsizeMode.END
};

var box = new Gtk.Box (Gtk.Orientation.HORIZONTAL, 6);
var box = new Granite.Box (HORIZONTAL, HALF);
box.append (icon);
box.append (name);

child = box;
var list_item = new Granite.ListItem () {
child = box
};

child = list_item;
}
}
1 change: 0 additions & 1 deletion src/AppChooser/Dialog.vala
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,6 @@ public class AppChooser.Dialog : Gtk.Window {
hexpand = true,
vexpand = true
};
listbox.add_css_class (Granite.STYLE_CLASS_RICH_LIST);
listbox.set_placeholder (placeholder);

var scrolled_window = new Gtk.ScrolledWindow () {
Expand Down
1 change: 0 additions & 1 deletion src/ScreenCast/Dialog.vala
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ public class ScreenCast.Dialog : Granite.MessageDialog {
hexpand = true,
vexpand = true
};
list_box.add_css_class (Granite.STYLE_CLASS_RICH_LIST);
list_box.set_header_func (header_func);

if (MONITOR in source_types) {
Expand Down
12 changes: 8 additions & 4 deletions src/ScreenCast/SelectionRow.vala
Original file line number Diff line number Diff line change
Expand Up @@ -58,18 +58,22 @@ public class ScreenCast.SelectionRow : Gtk.ListBoxRow {
xalign = 0
};

label_box = new Gtk.Box (VERTICAL, 0) {
margin_start = 6,
label_box = new Granite.Box (VERTICAL, NONE) {
valign = CENTER
};
label_box.add_css_class ("text-box");
label_box.append (title_label);

var box = new Gtk.Box (HORIZONTAL, 0);
var box = new Granite.Box (HORIZONTAL, NONE);
box.append (check_button);
box.append (image);
box.append (label_box);

child = box;
var list_item = new Granite.ListItem () {
child = box
};

child = list_item;

check_button.bind_property ("active", this, "selected", DEFAULT);
}
Expand Down