プロジェクト

全般

プロフィール

バグ #1533 » 0002-change_account-settings.patch

Izumi Tsutsui, 2021-12-01 23:43

差分を表示:

plugin/change_account/change_account.rb
47 47
  settings _('アカウント情報') do
48 48
    listview = ::Plugin::ChangeAccount::AccountControl.new(self)
49 49
    listview.hexpand = true
50
    listview.vexpand = true
50 51
    btn_add = Gtk::Button.new stock_id: Gtk::Stock::ADD
51 52
    btn_delete = Gtk::Button.new stock_id: Gtk::Stock::DELETE
52 53
    btn_add.ssc(:clicked) do
......
64 65

  
65 66
    grid = Gtk::Grid.new
66 67
    grid.column_spacing = 6
67
    grid << listview
68
    grid << Gtk::ScrolledWindow.new.add(listview)
68 69
    grid << (Gtk::Grid.new.tap do |grid|
69 70
      grid.orientation = :vertical
70 71
      grid.row_spacing = 6
(3-3/3)