Skip to content

Commit

Permalink
make package column resizable
Browse files Browse the repository at this point in the history
  • Loading branch information
carrotIndustries authored Mar 10, 2024
1 parent 6c0e043 commit 354d0e3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/imp/parts_window.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@ PartsWindow::PartsWindow(const Board &brd) : Gtk::Window(), board(brd), state_st
tree_view->get_column(1)->set_sort_column(list_columns.qty);
tree_view->append_column("Value", list_columns.value);
tree_view->append_column("MPN", list_columns.MPN);
tree_view_append_column_ellipsis(tree_view, "Package", list_columns.package, Pango::ELLIPSIZE_END);
tree_view_append_column_ellipsis(tree_view, "Package", list_columns.package, Pango::ELLIPSIZE_END)
->set_resizable(true);
tree_view_append_column_ellipsis(tree_view, "Refdes", list_columns.refdes, Pango::ELLIPSIZE_END)
->set_sort_column(list_columns.refdes);
store->set_sort_func(list_columns.refdes,
Expand Down

0 comments on commit 354d0e3

Please sign in to comment.