Skip to content
  • Adrien's avatar
    fix(organization): User page tab folders are unusable on MacOs Big Sur (#2514) · 3098f60b
    Adrien authored
    2 new classes in studio.ui : nativeTabFolderWidget and
    NativeTabFolderItem
    
    Depending on the OS, thoses create TabFolder & TabItem (mac and linux)
    or CTabFolder (windows)
    & CTabItem
    
    -> TabFolder and TabItem have a nice rendering on mac and linux, but a
    bad one on windows. It is the opposit for CTabItem and CTabFolder
    -> Those two classes ensure that the best rendering is always use, with
    the same behavior
    
    Use CTab folders / items on macos since TabFolder are natively broken
    since the macos update. This way, we ensure that the behavior is the
    same no matter the macos version. The rendering is still nice thanks to
    the custom css rules on CTabFolders.
    
    [STUDIO-3703](https://bonitasoft.atlassian.net/browse/STUDIO-3703)
    3098f60b