Skip to content

TabButton.Text issue #9

@fgbustoa

Description

@fgbustoa

Hi,

if i put your segmentedcontrol inside a ScrollView, TabButton.Text is not visible (or has the same color of PrimaryColor .... i don't know)

XF version: latest 4.5.x

XAML that works:

<ContentPage.Content> <Grid> <StackLayout> <xfsc:SegmentedControl HorizontalOptions="CenterAndExpand" PrimaryColor="Red" SecondaryColor="Yellow" TabButtonsSource="{Binding MeasuresTypes}" VerticalOptions="CenterAndExpand" /> </StackLayout> </Grid> </ContentPage.Content>

Result:
WORKS

XAML that dont works:

<ContentPage.Content> <Grid> <ScrollView> <StackLayout> <xfsc:SegmentedControl HorizontalOptions="CenterAndExpand" PrimaryColor="Red" SecondaryColor="Yellow" TabButtonsSource="{Binding MeasuresTypes}" VerticalOptions="CenterAndExpand" /> </StackLayout> </ScrollView> </Grid> </ContentPage.Content>

Result:
DONT WORKS

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions