Icon not showing in TextBox #18013
-
Please forgive me for all of my newbie questions, but... I looked inside of the Uno.Gallery to see how to display an icon inside of the text box and how it is done and I found this in the
The Find icon is indeed rendered inside of the textbox as advertised. When I do the same thing, the Icon does not render:
I have included the necessary namespace to my xaml file: Thanks in advance for your help!! |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 3 replies
-
Hey @mobynet1, I wasn't able to replicate the behavior you described with the code you provided. I am seeing the icon as expected: |
Beta Was this translation helpful? Give feedback.
-
@morning4coffe-dev wins this week's prize! Thanks for your help! |
Beta Was this translation helpful? Give feedback.
-
I closed this too early! I also see in the Material Design control document that the Material textbox also has a region under the control that allows for helper and error text messages. I looked at the ControlExtensions class and did not see how this can be handled. Where else do I need to look or is it not implemented? |
Beta Was this translation helpful? Give feedback.
-
Thank you @MartinZikmund |
Beta Was this translation helpful? Give feedback.
Hey @mobynet1,
I wasn't able to replicate the behavior you described with the code you provided. I am seeing the icon as expected:
You are using the Material theme, right? Could you provide a more detailed reproduction of the issue or take a look at my UnoApp2.zip to see if you notice any differences? Changing the properties on the TextBox doesn't seem to affect the extension's behavior.