Index: channels/specbuttons.py ================================================================== --- channels/specbuttons.py +++ channels/specbuttons.py @@ -53,10 +53,11 @@ # Extra buttons def update_buttons(self, parent): # define table width (2 rows default) + y = conf.specbuttons_rows if "specbuttons_rows" in conf else 2 y = max(min(int(conf.specbutton_rows), 4), 1) # 1 <= y <= 4 self.specbuttons.resize(y, int(math.ceil(len(conf.specbuttons) / y))) # clean up for widget in self.specbuttons.get_children(): widget.destroy()