Search Unity

Request: Default window size for UWP apps

Discussion in 'Windows' started by ladron, Sep 11, 2017.

  1. ladron

    ladron

    Joined:
    Mar 16, 2012
    Posts:
    47
    When a UWP app is not set to run fullscreen, it would be great if there was an option to set the default window size under Resolution and Presentation in Player Settings.

    The default size could then be put in ApplicationView.PreferredLaunchViewSize in UnityGenerated.cs. It is possible to manually alter that file, but it gets overwritten any time the project is rebuilt in Unity.
     
  2. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,674
    That sounds like a reasonable feature request. I'll add it to our backlog.

    In the meantime, you should be able to add it to App.cs - that one does not get overwritten by Unity.
     
  3. ladron

    ladron

    Joined:
    Mar 16, 2012
    Posts:
    47
    Thanks!