You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 10, 2024. It is now read-only.
Hello,
Whenever I centered the Entry Password object (in a Grid, StackLayout, and so on), the keyboard to type the password is not displayed.
This only happens when I try to center the Entry password object or put it on the right side of UI.
Code:
public LoginPage()
{
InitializeComponent();
BindingContext = new LoginPageViewModel();
EnhancedEntry passwordEntry = new EnhancedEntry
{
BorderColor = Color.Red,
LeftIcon = "password",
BorderWidth = 1,
CornerRadius = 2,
Placeholder = "Password",
Effects = { new ShowHiddenEntryEffect() },
IsPassword = true,
ReturnKeyType = ReturnKeyTypes.Next
};
var grid = new Grid
{
VerticalOptions = LayoutOptions.Center, BackgroundColor = Color.Aqua
};
grid.RowDefinitions.Add(new RowDefinition { Height = new GridLength(1, GridUnitType.Star) });
grid.RowDefinitions.Add(new RowDefinition { Height = new GridLength(1, GridUnitType.Star) });
grid.RowDefinitions.Add(new RowDefinition { Height = new GridLength(1, GridUnitType.Star) });
grid.RowDefinitions.Add(new RowDefinition { Height = new GridLength(1, GridUnitType.Star) });
grid.RowDefinitions.Add(new RowDefinition { Height = new GridLength(1, GridUnitType.Star) });
grid.RowDefinitions.Add(new RowDefinition { Height = new GridLength(1, GridUnitType.Star) });
grid.RowDefinitions.Add(new RowDefinition { Height = new GridLength(1, GridUnitType.Star) });
grid.RowDefinitions.Add(new RowDefinition { Height = new GridLength(1, GridUnitType.Star) });
grid.ColumnDefinitions.Add(new ColumnDefinition { Width = new GridLength(1, GridUnitType.Star) });
grid.ColumnDefinitions.Add(new ColumnDefinition { Width = new GridLength(1,GridUnitType.Star) });
grid.ColumnDefinitions.Add(new ColumnDefinition { Width = new GridLength(1, GridUnitType.Star) });
grid.Children.Add(passwordEntry, 1,1);
LoginView.Content = grid;
}
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hello,
Whenever I centered the Entry Password object (in a Grid, StackLayout, and so on), the keyboard to type the password is not displayed.
This only happens when I try to center the Entry password object or put it on the right side of UI.
Code:
The text was updated successfully, but these errors were encountered: