Textbox issues using Ogre bindings
Posted: 02 Dec 2013, 23:13
Hello,
I am having some trouble getting textboxes to accept input properly when using the Ogre bindings. Specifically, backspace doesn't appear to delete characters from the textbox. Because of this, the number of keystrokes the textbox will accept is limited to the MaxLength attribute value.
Am I doing something wrong, or is this a known issue?
Thanks!
Here is the relevant xaml:
I am having some trouble getting textboxes to accept input properly when using the Ogre bindings. Specifically, backspace doesn't appear to delete characters from the textbox. Because of this, the number of keystrokes the textbox will accept is limited to the MaxLength attribute value.
Am I doing something wrong, or is this a known issue?
Thanks!
Here is the relevant xaml:
Code: Select all
<TextBox x:Name="TextBoxSMapIdealValue" HorizontalAlignment="Center" Height="21" Margin="0,0,0,8" TextWrapping="Wrap" VerticalAlignment="Bottom" Width="38.5" MaxLength="3" Background="#FF4E4E4E" Foreground="White" Text="0" FontSize="10.667">
<TextBox.BorderBrush>
<LinearGradientBrush EndPoint="0,20" MappingMode="Absolute" StartPoint="0,0">
<GradientStop Color="White"/>
<GradientStop Color="White" Offset="1"/>
</LinearGradientBrush>
</TextBox.BorderBrush>
</TextBox>