From 60b7da91aa2b53964f7cd45f5f77a02a5e8d7a1d Mon Sep 17 00:00:00 2001 From: Peder Bergebakken Sundt Date: Tue, 6 Mar 2018 15:27:37 +0100 Subject: [PATCH] Force name column in playlist table to be full width --- grzegorz_clients/remi_ui.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/grzegorz_clients/remi_ui.py b/grzegorz_clients/remi_ui.py index fe86823..b0e7ec6 100644 --- a/grzegorz_clients/remi_ui.py +++ b/grzegorz_clients/remi_ui.py @@ -70,6 +70,9 @@ class RemiApp(App): self.playlist.clear = gui.Button("CLEAR", height="1.8em") self.playlist.clear.set_on_click_listener(self.on_playlist_clear_click) + self.playlist.table.get_child("title") \ + .get_child(self.playlist.table.get_child("title")._render_children_list[1]) \ + .style["width"] = "100%" self.playlist.clear.style["background"] = f"linear-gradient(40deg,{COLOR_RED},{COLOR_ORANGE})" self.playlist.shuffle.style["background"] = f"linear-gradient(40deg,{COLOR_TEAL},{COLOR_GREEN})" for i in (self.playlist.shuffle, self.playlist.clear):