How to arrange Tabgrob vertically

You must Login before you can answer or comment on any questions.

By default in IOS tabgroup shown at bottom of the screen , but i need to set it vertically . by default

Tab 1 Tab 2 Tab3 [ horizontal]

but i need [vertical] arrangement of tab's in tabgroup.

Tab 1

Tab 2

Tab 3

— asked 11 months ago by Dipesh Jade
1 Comment
  • Have you considered using a tableview along the lefthand side of the screen, then updating a view on the righthand of the screen based on which row is selected in the tableview?

    — commented 11 months ago by Darren Adams

2 Answers

Hi Dipesh,

If you want tabGroup Vertically then you have to create you own means custom tabGroup.

Hi Dipesh,

this may help as a guide:

var self = Ti.UI.createView({
        width: 100,
        height: 320,
        left: 0,
        top: 0,
        backgroundColor: 'black'
    });
    var button1 = Ti.UI.createButton({
        width: 80,
        top: 5,
        left: 10,
        title: 'Button 1'
    });
    var button2 = Ti.UI.createButton({
        width: 80,
        top: 50,
        left: 10,
        title: 'Button 2'
    });
 
    self.add(button1);
    self.add(button2);
you may need to add 'zIndez' property to the self view. or add the self view to your main window last. Hope this helps.

Your Answer

Think you can help? Login to answer this question!