Skip to content

HorizontalAlignment="Left" makes the digits jump around #26

@ErikWahlstrom

Description

@ErikWahlstrom
<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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions