バグ #1545 » 0001-fix-shortcutkey-setting-list-1545.patch
plugin/shortcutkey/shortcutkey.rb | ||
---|---|---|
36 | 36 |
listview = Plugin::Shortcutkey::ShortcutKeyListView.new(Plugin[:shortcutkey]) |
37 | 37 |
listview.halign = :fill |
38 | 38 |
listview.hexpand = true |
39 |
listview.vexpand = true |
|
39 | 40 | |
40 | 41 |
filter_entry = listview.filter_entry = Gtk::Entry.new |
41 | 42 |
filter_entry.primary_icon_pixbuf = Skin[:search].pixbuf(width: 24, height: 24) |
... | ... | |
47 | 48 |
grid.orientation = :vertical |
48 | 49 |
grid.row_spacing = 6 |
49 | 50 |
grid << filter_entry << Gtk::Grid.new.tap do |grid| |
50 |
grid.valign = :fill |
|
51 | 51 |
grid.vexpand = true |
52 | 52 |
grid.column_spacing = 6 |
53 |
grid << listview << listview.buttons(:vertical)
|
|
53 |
grid << ::Gtk::ScrolledWindow.new.add(listview).set_valign(:fill) << listview.buttons(:vertical).set_valign(:start)
|
|
54 | 54 |
end |
55 | 55 | |
56 | 56 |
native grid |