mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-17 11:50:56 +00:00
Fix password label being cut in authorization view for some languages and fix positioning
This commit is contained in:
parent
1380fc63ec
commit
e15039e3a0
@ -205,7 +205,7 @@
|
|||||||
cell.selectionStyle = UITableViewCellSelectionStyleNone;
|
cell.selectionStyle = UITableViewCellSelectionStyleNone;
|
||||||
cell.backgroundColor = [UIColor whiteColor];
|
cell.backgroundColor = [UIColor whiteColor];
|
||||||
|
|
||||||
UITextField *textField = [[UITextField alloc] initWithFrame:CGRectMake(110, 10, self.view.frame.size.width - 110 - 35, 30)];
|
UITextField *textField = [[UITextField alloc] initWithFrame:CGRectMake(130, 11, self.view.frame.size.width - 130 - 25, 24)];
|
||||||
if (UI_USER_INTERFACE_IDIOM() != UIUserInterfaceIdiomPad) {
|
if (UI_USER_INTERFACE_IDIOM() != UIUserInterfaceIdiomPad) {
|
||||||
textField.autoresizingMask = UIViewAutoresizingFlexibleWidth;
|
textField.autoresizingMask = UIViewAutoresizingFlexibleWidth;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user