Giter Site home page Giter Site logo

WindowState issue about mahapps.metro HOT 9 CLOSED

mahapps avatar mahapps commented on May 5, 2024
WindowState issue

from mahapps.metro.

Comments (9)

 avatar commented on May 5, 2024

What version are you using?

from mahapps.metro.

xrCKN8km6s avatar xrCKN8km6s commented on May 5, 2024

I'm using MahApps.Metro-0.7.2.0, MahApps.Metro.Resources-0.1.0.1.

from mahapps.metro.

 avatar commented on May 5, 2024

Try using one of the alphas or building from source and report back.

from mahapps.metro.

xrCKN8km6s avatar xrCKN8km6s commented on May 5, 2024

After updating to 0.7.9.59-ALPHA or building from sources I'm getting the same result.

from mahapps.metro.

 avatar commented on May 5, 2024

Can you provide some demo code on how you're doing it? I can't replicate the issue.

from mahapps.metro.

xrCKN8km6s avatar xrCKN8km6s commented on May 5, 2024

That's just a simple WPF window with WindowState set to Maximized:

<Controls:MetroWindow x:Class="Test.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:Controls="clr-namespace:MahApps.Metro.Controls;assembly=MahApps.Metro" 
        Title="MainWindow" Height="350" Width="525" WindowState="Maximized">
    <Grid>

    </Grid>
</Controls:MetroWindow>

Demo project is here: http://dl.dropbox.com/u/22068130/Test.7z

In case if that's something with my OS, it's Windows 7 SP1 x64.

from mahapps.metro.

 avatar commented on May 5, 2024

Right, I was setting it in code behind or by pressing buttons, rather than on initilisation. Can replicate, will investigate.

from mahapps.metro.

 avatar commented on May 5, 2024

This should be fixed, and 0.7.9.60-ALPHA contains the fix. Let me know how you go.

from mahapps.metro.

xrCKN8km6s avatar xrCKN8km6s commented on May 5, 2024

It's right now. Thanks for such fast correction.

from mahapps.metro.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.