mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 22:55:00 +00:00
[Layout] Add support for flex factor (#2298)
* Add support for flex factor * Add snapshot tests * Respect child specified size from ASLayoutable * Add new snapshot test images * Fix rebase conflict
This commit is contained in:
committed by
Adlai Holler
parent
f421787cd3
commit
e85583523f
@@ -78,7 +78,7 @@
|
||||
// of the button node to add a touch handler.
|
||||
[_titleNode setLayerBacked:YES];
|
||||
#endif
|
||||
_titleNode.style.flexShrink = YES;
|
||||
_titleNode.style.flexShrink = 1;
|
||||
}
|
||||
return _titleNode;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user