vanilla
vanilla copied to clipboard
MacOS Ventura and vanilla.Tabs
vanilla.Tabs are not working correctly on the latest mac OS Ventura. All tabs except the first one, are bugged. See with this example :
from vanilla import Window, Tabs, TextBox, Button
class TabsDemo:
def __init__(self):
self.w = Window((250, 200))
self.w.tabs = Tabs((10, 10, -10, -10), ["Tab One", "Tab Two"])
tab1 = self.w.tabs[0]
tab1.button = Button((50, 40, -50, 20), "A Button")
tab1.text = TextBox((10, 10, -10, -10), "This is tab 1")
tab2 = self.w.tabs[1]
tab2.button = Button((50, 40, -50, 20), "A Button")
tab2.text = TextBox((10, 10, -10, -10), "This is tab 2")
self.w.open()
TabsDemo().