HorizontalTextAlignment seems not working when I use the IsPassword property of an Entry, am I using it correctly?
Mehdi, Your Code is working fine with the built-in Entry Element , i may guess the problem is with the EntryStyle in the static resources...
<StackLayout> <Entry HorizontalOptions="FillAndExpand" HorizontalTextAlignment="End" IsPassword="True" Placeholder="رمز العبور" VerticalOptions="FillAndExpand" /> </StackLayout>
@MounesSahib said: Mehdi, Your Code is working fine with the built-in Entry Element , i may guess the problem is with the EntryStyle in the static resources... <StackLayout> <Entry HorizontalOptions="FillAndExpand" HorizontalTextAlignment="End" IsPassword="True" Placeholder="رمز العبور" VerticalOptions="FillAndExpand" /> </StackLayout>
@MounesSahib said: Mehdi, Your Code is working fine with the built-in Entry Element , i may guess the problem is with the EntryStyle in the static resources...
Hi @MounesSahib problem was the Gravity property in my button renderer
Thank you for your Answer ;D
You Welcome @MehdiFathi.. Question : are you using the same property for all platforms ?? i guess the Gravity property is related to Andriod.
@MounesSahib its my android custom renderer, I'm using another customrenderer for IOS.
Now its clear thanks @MehdiFathi
Answers
Mehdi,
Your Code is working fine with the built-in Entry Element , i may guess the problem is with the EntryStyle in the static resources...
Hi @MounesSahib
problem was the Gravity property in my button renderer
Thank you for your Answer ;D
You Welcome @MehdiFathi..
Question : are you using the same property for all platforms ?? i guess the Gravity property is related to Andriod.
@MounesSahib its my android custom renderer, I'm using another customrenderer for IOS.
Now its clear thanks @MehdiFathi