Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    TabSet problem on mobile devices

    SmartClient Version: v13.1p_2024-12-20/AllModules Development Only (built 2024-12-20)

    Chrome on Android studio emulator Pixel 5
    Chrome on Samsung Galaxy Tab A
    Safari on iPad Air XCode simulator
    Safari on iPhone 15 Pro XCode simulator

    Hello, please try this test case in portrait orientation (I've added tabProperties: {width: "*"}):

    Code:
    isc.TabSet.create({
        ID: "topTabSet",
        tabProperties: {width: "*"},
    
        tabBarPosition: "top",
        width: "100%",
        height: "100%",
        tabs: [
            {title: "Blue", icon: "pieces/16/pawn_blue.png", iconSize:16,
             pane: isc.Img.create({autoDraw: false, width: 48, height: 48, src: "pieces/48/pawn_blue.png"})},
            {title: "Green", icon: "pieces/16/pawn_green.png", iconSize:16,
             pane: isc.Img.create({autoDraw: false, width: 48, height: 48, src: "pieces/48/pawn_green.png"})}
        ]
    }).show()
    and then switch to landscape and back to portrait: you'll see that the tabPicker appears:

    Click image for larger version

Name:	2024-12-20 15.54.33.jpg
Views:	6
Size:	33.0 KB
ID:	274403


    Also, the tabs become scrollable as if there were others hidden tabs:

    Click image for larger version

Name:	2024-12-20 15.54.37.jpg
Views:	6
Size:	32.3 KB
ID:	274404
Working...
X