Replies: 1 comment
-
Currently there is no way to do this. As a workaround you can Text=" " (which actually contains space in text. This is a subject to change in future TextBox rework. You can track progress by this issue: #280 or in the |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I want the floating label of the TextBox always be at the top. Could you help me with this? I inserted this style in my App.axaml
and use Classes="myTextBox" for my TextBox, but it doesn't seem to work. What is the correct selector? I'm pretty new to Avalonia.
<TextBox Name="Quantity" assist:TextFieldAssist.Label="Quantity" UseFloatingWatermark="True" Classes="myTextBox" Theme="{StaticResource FilledTextBox}" Margin="5"/>
Beta Was this translation helpful? Give feedback.
All reactions