We need the padding inside the filelistcell, so that
its event controllers cover the whole area.
Introduce a .complex style class for columnviews that
achieves that, and make the filechooser use it.
}
}
+/********************************************************
+ * Complex Lists *
+ * Put padding on the cell content so event controllers *
+ * can cover the whole area. *
+ ********************************************************/
+
+columnview.complex {
+ > listview > row > cell {
+ padding: 0;
+ > * {
+ padding: 8px 6px;
+ }
+ }
+
+ // shrink vertically for .data-table
+ &.data-table > listview > row > cell {
+ padding: 0;
+ > * {
+ padding-top: 2px;
+ padding-bottom: 2px;
+ }
+ }
+}
+
/*********************
* App Notifications *
*********************/
<property name="vexpand">1</property>
<child>
<object class="GtkColumnView" id="browse_files_column_view">
+ <style>
+ <class name="complex"/>
+ </style>
<signal name="activate" handler="column_view_row_activated_cb" swapped="no"/>
<signal name="keynav-failed" handler="browse_files_column_view_keynav_failed_cb"/>
<child>