Gu.Wpf.NumericInput icon indicating copy to clipboard operation
Gu.Wpf.NumericInput copied to clipboard

HorizontalAlignment="Left" makes the digits jump around

Open ErikWahlstrom opened this issue 8 years ago • 0 comments

<Style x:Key="ReadOnlyTeachDoubleBox" TargetType="{x:Type numeric:DoubleBox}">
        <Style.Setters>
            <Setter Property="DecimalDigits" Value="1" />
            <Setter Property="IsReadOnly" Value="True" />
            <Setter Property="Focusable" Value="False" />
            <Setter Property="BorderThickness" Value="0" />
            <Setter Property="Background" Value="Transparent" />
        </Style.Setters>
    </Style>

<numeric:DoubleBox Grid.Column="5"
                               Foreground="SlateGray"
                               HorizontalAlignment="Left"
                               Style="{StaticResource ReadOnlyTeachDoubleBox}"
                               Value="{Binding C, Mode=OneWay, Converter={units:AngleConverter °}, UpdateSourceTrigger=PropertyChanged}" />

jumpingnumbers

ErikWahlstrom avatar Mar 21 '17 13:03 ErikWahlstrom