[niepce] importer: set item width for the thumbnail view



commit 9abb841e23c5a17f5fcab5b2e5bd092cd0e67bd3
Author: Hubert Figuière <hub figuiere net>
Date:   Tue May 16 21:47:45 2017 -0400

    importer: set item width for the thumbnail view

 src/niepce/ui/dialogs/importdialog.cpp |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/niepce/ui/dialogs/importdialog.cpp b/src/niepce/ui/dialogs/importdialog.cpp
index 54ab5e1..d7c8fda 100644
--- a/src/niepce/ui/dialogs/importdialog.cpp
+++ b/src/niepce/ui/dialogs/importdialog.cpp
@@ -95,6 +95,7 @@ void ImportDialog::setup_widget()
             Glib::RefPtr<Gtk::TreeModel>::cast_dynamic(m_images_list_model)));
     m_gridview->set_pixbuf_column(m_grid_columns.pixbuf);
     m_gridview->set_text_column(m_grid_columns.filename);
+    m_gridview->set_item_width(100);
     m_gridview->show();
     m_images_list_scrolled->add(*m_gridview);
     m_images_list_scrolled->set_policy(Gtk::POLICY_AUTOMATIC, Gtk::POLICY_AUTOMATIC);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]