Tweaks
Tweaks
This commit is contained in:
parent
7699f5c6b9
commit
027ec1f0d9
@ -5,13 +5,13 @@
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
xmlns:local="clr-namespace:FakeDeck"
|
||||
mc:Ignorable="d"
|
||||
Title="MainWindow"Activated="FakeDeckUI_Activated" WindowStartupLocation="CenterScreen">
|
||||
Title="MainWindow" Activated="FakeDeckUI_Activated" WindowStartupLocation="CenterScreen">
|
||||
<Grid>
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="270"/>
|
||||
<RowDefinition Height="50*"/>
|
||||
</Grid.RowDefinitions>
|
||||
<Image x:Name="qr_code" Margin="10,10,10,10"/>
|
||||
<Image x:Name="qr_code" Width="250px" Height="250px" Margin="10,10,10,10"/>
|
||||
<TextBox Margin="10,10,10,0" TextWrapping="Wrap" Text="TextBox" VerticalAlignment="Top" Grid.Row="1"/>
|
||||
</Grid>
|
||||
</Window>
|
||||
|
@ -13,8 +13,8 @@ function urlencodeFormData(fd){
|
||||
function resizeGrid(){
|
||||
var width = document.body.clientWidth;
|
||||
var height = document.body.clientHeight;
|
||||
var biggerSizeW = (width / 5);
|
||||
var biggerSizeH = (height / 3);
|
||||
var biggerSizeW = (width / 7);
|
||||
var biggerSizeH = (height / 5);
|
||||
|
||||
var biggerSize = biggerSizeW;
|
||||
if(biggerSizeW < biggerSizeH){
|
||||
|
Loading…
Reference in New Issue
Block a user