Skip to content

MacOS Ventura and vanilla.Tabs #172

@HugoJourdan

Description

@HugoJourdan

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().

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions