Skip to content

Commit b9d34fe

Browse files
committed
Very small fix of floating hint
Small fix of selecting text under the floating hint in textbox. Description of problem: When you double clicked (or trying to select with mouse) a text under hint in textbox, nothing happens.
1 parent c9eb411 commit b9d34fe

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

MaterialDesignThemes.Wpf/Themes/MaterialDesignTheme.TextBox.xaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,7 @@
130130
<TextBlock Text="{Binding Path=(wpf:TextFieldAssist.Hint), RelativeSource={RelativeSource TemplatedParent}}"
131131
FontSize="{TemplateBinding FontSize}"
132132
HorizontalAlignment="Left"
133+
VerticalAlignment="Top"
133134
x:Name="Hint"
134135
Margin="1 0 1 0"
135136
Opacity="{Binding Path=(wpf:TextFieldAssist.HintOpacity), RelativeSource={RelativeSource TemplatedParent}}"/>

0 commit comments

Comments
 (0)