1

My SegmentedControl needs to have 6 options. So I have the following QML:

import bb.cascades 1.2

Container {
    topPadding: 20.0
    SegmentedControl {
        selectedIndex: 0
        Option {
            text: "1"
        }
        Option {
            text: "2"
        }
        Option {
            text: "5"
        }
        Option {
            text: "10"
        }
        Option {
            text: "20"
        }
        Option {
            text: "50"
        }
    }
}

In Momentics however, I see only the first 4 options. Why?

meaning-matters
  • 21,929
  • 10
  • 82
  • 142

1 Answers1

2

If you look in documentation, right at the top it says

SegmentedControl allows you to create a horizontal row with up to four visible options.

So basically you can't. Unless you make a control that acts just like it

Bojan Kogoj
  • 5,321
  • 3
  • 35
  • 57