<flyctrllib:WindowBigClose x:Class="FLY.Thick.Base.UI.WdAdScale"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:flyctrllib="clr-namespace:FLY.ControlLibrary;assembly=FLY.ControlLibrary"
        xmlns:local="clr-namespace:FLY.Thick.Base.UI"
        Title="" mc:Ignorable="d" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
                           xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" SizeToContent="WidthAndHeight" >
    <Window.Resources>
        <ResourceDictionary>
            <local:BytesConverter x:Key="bytesconv"/>
        </ResourceDictionary>
    </Window.Resources>

            <Grid Background="{StaticResource Brushes.ThemeBackground}">
                <StackPanel Margin="{StaticResource ControlMargin}">
                    <Grid Height="30"/>
                    <StackPanel Orientation="Horizontal">
                <StackPanel Margin="{StaticResource ControlMargin}">
                    <TextBlock Style="{StaticResource Styles.Text.FieldHeader.Editable}" Text="{StaticResource str.WdAdScale.Old}" />
                        <StackPanel Orientation="Horizontal">
                        <TextBox Style="{StaticResource Styles.Text.FieldContent.Input.Card}" Text="{Binding Old}" />
                        </StackPanel>
                    </StackPanel>
                <TextBlock Style="{StaticResource Styles.Text.FieldHeader}" Text="->" VerticalAlignment="Center" />
                <StackPanel Margin="{StaticResource ControlMargin}">
                    <TextBlock Style="{StaticResource Styles.Text.FieldHeader.Editable}" Text="{StaticResource str.WdAdScale.New}" />
                        <StackPanel Orientation="Horizontal">
                        <TextBox Style="{StaticResource Styles.Text.FieldContent.Input.Card}" Text="{Binding New}" />
                        </StackPanel>
                    </StackPanel>
                    </StackPanel>

            <Button Style="{StaticResource Styles.Button.Apply}" Click="button_apply_Click" />
                </StackPanel>
            </Grid>

</flyctrllib:WindowBigClose>
