<?xml version="1.0" encoding="utf-8" ?>
<ResourceDictionary
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="using:Ghost.Editor.Core.Controls">

    <Style TargetType="local:Float3Field">
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="local:Float3Field">
                    <Grid ColumnSpacing="4">
                        <Grid.ColumnDefinitions>
                            <ColumnDefinition Width="Auto" />
                            <ColumnDefinition Width="*" />
                            <ColumnDefinition Width="Auto" />
                            <ColumnDefinition Width="*" />
                            <ColumnDefinition Width="Auto" />
                            <ColumnDefinition Width="*" />
                        </Grid.ColumnDefinitions>

                        <TextBlock
                            Grid.Column="0"
                            VerticalAlignment="Center"
                            Text="X" />
                        <NumberBox x:Name="XComponent" Grid.Column="1" />
                        <TextBlock
                            Grid.Column="2"
                            VerticalAlignment="Center"
                            Text="Y" />
                        <NumberBox x:Name="YComponent" Grid.Column="3" />
                        <TextBlock
                            Grid.Column="4"
                            VerticalAlignment="Center"
                            Text="Z" />
                        <NumberBox x:Name="ZComponent" Grid.Column="5" />
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
</ResourceDictionary>