fix bus mode/mono button widths.

upd busmono textvariable values
This commit is contained in:
onyx-and-iris 2026-03-09 22:40:34 +00:00
parent d903faecd9
commit 7aa8091de6
2 changed files with 7 additions and 3 deletions

View File

@ -591,7 +591,9 @@ class BusConfigFrameBuilder(ChannelConfigFrameBuilder):
def create_bus_mode_button(self):
self.configframe.busmode_button = ttk.Button(
self.configframe, textvariable=self.configframe.bus_mode_label_text
self.configframe,
textvariable=self.configframe.bus_mode_label_text,
width=15,
)
self.configframe.busmode_button.grid(
column=0, row=0, columnspan=2, sticky=(tk.W), padx=1, pady=1
@ -611,7 +613,9 @@ class BusConfigFrameBuilder(ChannelConfigFrameBuilder):
def create_bus_mono_button(self):
self.configframe.mono_button = ttk.Button(
self.configframe, textvariable=self.configframe.bus_mono_label_text
self.configframe,
textvariable=self.configframe.bus_mono_label_text,
width=15,
)
self.configframe.mono_button.bind(
'<Button-1>',

View File

@ -31,4 +31,4 @@ def get_busmode_shortnames(kind) -> list:
def get_busmono_modes() -> list:
return ['mono: off', 'mono: on', 'stereo repeat']
return ['Mono: off', 'Mono: on', 'Stereo Reverse']