Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[iOS] The switch widget does not show up on the page #986

Closed
vchimev opened this issue Oct 26, 2015 · 2 comments
Closed

[iOS] The switch widget does not show up on the page #986

vchimev opened this issue Oct 26, 2015 · 2 comments

Comments

@vchimev
Copy link
Contributor

vchimev commented Oct 26, 2015

In iOS the switch widget does not show up in the following cases:

<Page>
  <Switch checked="true" />
</Page>
<Page>
  <DockLayout>
    <Switch checked="true" dock="left" />
  </DockLayout>
</Page>
<Page>
  <GridLayout columns="250, *, auto" rows="250, *, auto" >
    <Switch checked="true" col="0" row="0" /> <!-- or col="1" row="1" -->
  </GridLayout>
</Page>
<Page>
  <StackLayout orientation="horizontal">
    <Switch checked="true" />
  </StackLayout>
</Page>

Workaround: You could set verticalAlignment/horizontalAlignment property. For example:

<Page>
  <Switch checked="true" verticalAlignment="center" horizontalAlignment="center"/>
</Page>
@hamorphis hamorphis self-assigned this Nov 12, 2015
hamorphis added a commit that referenced this issue Nov 13, 2015
Fixed #986: [iOS] The switch widget does not show up on the page.
@hshristov hshristov added this to the 1.5 milestone Nov 13, 2015
vchimev pushed a commit that referenced this issue Nov 13, 2015
In order to verify the fix of #986.
@vchimev
Copy link
Contributor Author

vchimev commented May 16, 2017

#4175

@lock
Copy link

lock bot commented Aug 28, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked and limited conversation to collaborators Aug 28, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants