mirror of
https://github.com/onyx-and-iris/voicemeeter-compact.git
synced 2026-03-12 05:09:12 +00:00
fix bus mode/mono button widths.
upd busmono textvariable values
This commit is contained in:
parent
d903faecd9
commit
7aa8091de6
@ -591,7 +591,9 @@ class BusConfigFrameBuilder(ChannelConfigFrameBuilder):
|
|||||||
|
|
||||||
def create_bus_mode_button(self):
|
def create_bus_mode_button(self):
|
||||||
self.configframe.busmode_button = ttk.Button(
|
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(
|
self.configframe.busmode_button.grid(
|
||||||
column=0, row=0, columnspan=2, sticky=(tk.W), padx=1, pady=1
|
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):
|
def create_bus_mono_button(self):
|
||||||
self.configframe.mono_button = ttk.Button(
|
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(
|
self.configframe.mono_button.bind(
|
||||||
'<Button-1>',
|
'<Button-1>',
|
||||||
|
|||||||
@ -31,4 +31,4 @@ def get_busmode_shortnames(kind) -> list:
|
|||||||
|
|
||||||
|
|
||||||
def get_busmono_modes() -> list:
|
def get_busmono_modes() -> list:
|
||||||
return ['mono: off', 'mono: on', 'stereo repeat']
|
return ['Mono: off', 'Mono: on', 'Stereo Reverse']
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user