Created
March 15, 2014 19:15
-
-
Save igorkulman/9572347 to your computer and use it in GitHub Desktop.
Windows Phone: a way to get rid of the 1px line under Systray in 720p
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
protected override PhoneApplicationFrame CreatePhoneApplicationFrame() | |
{ | |
var frame = new PhoneApplicationFrame { Margin = new Thickness(0, -1, 0, 0) }; | |
return frame; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private void InitializePhoneApplication() | |
{ | |
RootFrame.Margin = new Thickness(0, -1, 0, 0); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<Grid x:Name="LayoutRoot" Margin="0 -1 0 0"> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment