mirror of
https://github.com/SoongNoonien/mpdevil.git
synced 2023-08-10 21:12:44 +03:00
improved column sizing in playlist view
This commit is contained in:
parent
45236c9e28
commit
ad0f57dfd2
@ -699,7 +699,7 @@ class TrackView(Gtk.Box):
|
|||||||
|
|
||||||
self.column_track = Gtk.TreeViewColumn(_("No"), renderer_text, text=0)
|
self.column_track = Gtk.TreeViewColumn(_("No"), renderer_text, text=0)
|
||||||
self.column_track.set_sizing(Gtk.TreeViewColumnSizing.AUTOSIZE)
|
self.column_track.set_sizing(Gtk.TreeViewColumnSizing.AUTOSIZE)
|
||||||
self.column_track.set_property("resizable", True)
|
self.column_track.set_property("resizable", False)
|
||||||
self.treeview.append_column(self.column_track)
|
self.treeview.append_column(self.column_track)
|
||||||
|
|
||||||
self.column_title = Gtk.TreeViewColumn(_("Title"), renderer_text, text=1)
|
self.column_title = Gtk.TreeViewColumn(_("Title"), renderer_text, text=1)
|
||||||
@ -714,7 +714,7 @@ class TrackView(Gtk.Box):
|
|||||||
|
|
||||||
self.column_duration = Gtk.TreeViewColumn(_("Length"), renderer_text, text=4)
|
self.column_duration = Gtk.TreeViewColumn(_("Length"), renderer_text, text=4)
|
||||||
self.column_duration.set_sizing(Gtk.TreeViewColumnSizing.AUTOSIZE)
|
self.column_duration.set_sizing(Gtk.TreeViewColumnSizing.AUTOSIZE)
|
||||||
self.column_duration.set_property("resizable", True)
|
self.column_duration.set_property("resizable", False)
|
||||||
self.treeview.append_column(self.column_duration)
|
self.treeview.append_column(self.column_duration)
|
||||||
|
|
||||||
#scroll
|
#scroll
|
||||||
|
Loading…
Reference in New Issue
Block a user