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

scaling issues #240

Open
opcodewriter opened this issue Feb 4, 2016 · 0 comments
Open

scaling issues #240

opcodewriter opened this issue Feb 4, 2016 · 0 comments

Comments

@opcodewriter
Copy link

I have only a button:

<Application
        xmlns="http://schemas.wsick.com/fayde"
        xmlns:x="http://schemas.wsick.com/fayde/x"
        xmlns:vms="ViewModels"
        ThemeName="Metro">
    <Application.Resources>
    </Application.Resources>
    <Grid x:Name="LayoutRoot" Background="Green">
        <Grid.DataContext>
            <vms:MainViewModel/>
        </Grid.DataContext>
        <Button Content="AAA" HorizontalAlignment="Left" VerticalAlignment="Top" />
    </Grid>
</Application>

As I resize the web-browser window, the button changes its size too.
If I set a specific width and height, button doesn't resize, so problem is probably with default width and height (auto).
Same issue is with central alignment:
<Button Content="AAA" HorizontalAlignment="Center" VerticalAlignment="Center"/>

Also, it looks like a problem only with button, a check-box or a border do not experience this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant