2016-08-31 3 views
0

最近、私はいくつかのWindows 10 UWPアプリケーションの開発を学ぼうとしています。そして今、私は私のアプリの底に白いリボンがあり、ここを参照してください奇妙な問題を、発生しました:UWP/XAML - 奇妙な白い "リボン"が私のUWPアプリに表示されていますか?

Screenshot #1

私はドラッグして、アプリケーションのウィンドウを拡大した場合は、その後、別の白いリボンに存在しますトップ、こちらを参照してください。

Screenshot #2

をここでは、UIのための私のXAMLです:

<Page 
x:Class="ApodidaeCore.ClockMainUI" 
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
xmlns:local="using:ApodidaeCore" 
xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
mc:Ignorable="d"> 

<Grid RequestedTheme="Dark" Margin="0,0,0,38" Height="600" Background="Black"> 
    <Grid.RowDefinitions> 
     <RowDefinition Height="439*"/> 
     <RowDefinition Height="161*"/> 
    </Grid.RowDefinitions> 
    <Grid.ColumnDefinitions> 
     <ColumnDefinition Width="205*"/> 
     <ColumnDefinition Width="819*"/> 
    </Grid.ColumnDefinitions> 

    <TextBlock x:Name="hourTextBlock" HorizontalAlignment="Left" Height="191" TextWrapping="Wrap" Text="00" VerticalAlignment="Top" Width="205" Foreground="White" FontSize="170" Margin="15.2,98,0,0" Grid.Column="1" /> 
    <TextBlock x:Name="clockSymbolTextBlock" HorizontalAlignment="Left" Height="141" TextWrapping="Wrap" Text=":" VerticalAlignment="Top" Width="38" Foreground="White" FontSize="105" FontWeight="Bold" Margin="244.2,130,0,0" Grid.Column="1"/> 
    <TextBlock x:Name="minuteTextBlock" HorizontalAlignment="Left" Height="197" TextWrapping="Wrap" Text="00" VerticalAlignment="Top" Width="218" Foreground="White" FontSize="170" Margin="308.2,98,0,0" Grid.Column="1"/> 
    <TextBlock x:Name="weatherInfoTextBlock" HorizontalAlignment="Left" TextWrapping="Wrap" VerticalAlignment="Top" Foreground="White" FontSize="25" Margin="188.2,331,0,0" Text="Unknown" Width="314" Height="33" Grid.Column="1"/> 
    <TextBlock x:Name="notificationTextBlock" HorizontalAlignment="Left" TextWrapping="Wrap" Text="No new notification" VerticalAlignment="Top" Foreground="White" FontSize="25" Margin="188.2,369,0,0" Height="30" Width="314" Grid.Column="1"/> 
    <Image x:Name="weatherInfoIconImage" HorizontalAlignment="Left" Height="100" Margin="67.2,321,0,0" VerticalAlignment="Top" Width="100" Grid.Column="1"/> 

</Grid> 

これを解決するにはどうすればよいですか?助言がありますか?前もって感謝します!

ジャクソン。

答えて

1

固定された、愚かな私!

グリッドの高さと余白を間違って設定しました。

この2つの変数を削除すると、その問題が解決されます。

変更この:これに

<Grid RequestedTheme="Dark" Margin="0,0,0,38" Height="600" Background="Black"> 

<Grid RequestedTheme="Dark" Background="Black"> 
+0

喜んであなたが説明して戻ってきました –

関連する問題