fix bus mode/mono button widths.

upd busmono textvariable values
This commit is contained in:
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>',