0
我在頁面上有這個(http://i.imgur.com/IszY3uX.png),我想在各個元素之間留一個間距,這樣它們就不會像它在圖像中一樣。我希望它們能夠在頁面上傳播更多,而不是所有的東西都能夠互相吸引。 代碼:頁面上的元素(按鈕,文本框)之間的間距
<TextBox x:Name="inputBox"
InputScope="Number"
RelativePanel.AlignVerticalCenterWithPanel="True"
Height="32"
RelativePanel.AlignHorizontalCenterWithPanel="True"
TextWrapping="Wrap"
PlaceholderText=""
Width="71"/>
<Button x:Name="Calculate" Content="Calculate"
RelativePanel.AlignHorizontalCenterWithPanel="True"
RelativePanel.AlignVerticalCenterWithPanel="True"
RelativePanel.Below="inputBox"
Click="Calculate_Click"/>
<TextBlock x:Name="ValorFinal"
RelativePanel.Below="Calculate"
RelativePanel.AlignVerticalCenterWithPanel="True"
RelativePanel.AlignHorizontalCenterWithPanel="True"
TextWrapping="Wrap"
Height="16"
Text="Total:"/>