mirror of
https://github.com/onyx-and-iris/voicemeeter-compact.git
synced 2026-04-18 05:23:31 +00:00
changes to banner frame, nav frame and config frames.
only create a banner frame for potato version (since it hold info about submixes). stick nav_frame eastwards. change columnspan for bus config frame to 4 to match strip config frames.
This commit is contained in:
@@ -8,19 +8,16 @@ class Banner(ttk.Frame):
|
||||
def __init__(self, parent):
|
||||
super().__init__()
|
||||
self._parent = parent
|
||||
self.web = "onyxandiris.online"
|
||||
self.submix = tk.StringVar()
|
||||
if self._parent.kind.name == "Potato":
|
||||
self.submix.set(self.target.bus[_base_vals.submixes].label)
|
||||
self.submix.set(self.target.bus[_base_vals.submixes].label)
|
||||
|
||||
if self._parent.kind.name == "Potato":
|
||||
self.label = ttk.Label(
|
||||
self,
|
||||
text=f"SUBMIX: {self.submix.get().upper()}",
|
||||
)
|
||||
self.label.grid(column=0, row=0, sticky=(tk.N, tk.S, tk.W, tk.E))
|
||||
self.label = ttk.Label(
|
||||
self,
|
||||
text=f"SUBMIX: {self.submix.get().upper()}",
|
||||
)
|
||||
self.label.grid(column=0, row=0, sticky=(tk.N, tk.S, tk.W, tk.E))
|
||||
|
||||
self.upd_submix()
|
||||
self.upd_submix()
|
||||
|
||||
@property
|
||||
def target(self):
|
||||
|
||||
Reference in New Issue
Block a user