-
Notifications
You must be signed in to change notification settings - Fork 979
[iOS] - Fix layout of WrappingHStack when text becomes multi-line #22608
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Also fix spacing between items in the wrapping HStack on iOS 15 when line becomes multi-line.
} | ||
|
||
subview.place( | ||
at: CGPoint(x: x, y: y), | ||
anchor: .center, | ||
anchor: .init(x: 0.5, y: 1.0), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Isn't this the same as bottom
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes correct it is.
I was just being a bit more explicit. But honestly I'll just change it back to .bottom.
It was just easier for me to see that it's 0.5 horizontally (centred), and 1.0 (bottom) :)
…2608) * Fix layout of WrappingHStack when text becomes multi-line. * Also fix spacing between items in the wrapping HStack on iOS 15 when line becomes multi-line. Signed-off-by: Brandon T <[email protected]>
…2608) * Fix layout of WrappingHStack when text becomes multi-line. * Also fix spacing between items in the wrapping HStack on iOS 15 when line becomes multi-line. Signed-off-by: Brandon T <[email protected]>
…2608) * Fix layout of WrappingHStack when text becomes multi-line. * Also fix spacing between items in the wrapping HStack on iOS 15 when line becomes multi-line. Signed-off-by: Brandon <[email protected]> Signed-off-by: Brandon T <[email protected]>
* [iOS] - Retry Leo Purchases & Add Logging (#22791) * Add Logging View for Leo Purchases. * Add logs everywhere which can be accessed via Console.app * Retry purchase receipt syncing up to 10 times if purchase transaction was verified. * Revert manual refreshing logic as it doesn't help. * Fix performance of rendering chat messages. Signed-off-by: Brandon <[email protected]> Signed-off-by: Brandon T <[email protected]> * [iOS] - Fix layout of WrappingHStack when text becomes multi-line (#22608) * Fix layout of WrappingHStack when text becomes multi-line. * Also fix spacing between items in the wrapping HStack on iOS 15 when line becomes multi-line. Signed-off-by: Brandon <[email protected]> Signed-off-by: Brandon T <[email protected]> * Throw error when payment processing fails. Signed-off-by: Brandon T <[email protected]> --------- Signed-off-by: Brandon <[email protected]> Signed-off-by: Brandon T <[email protected]>
* [iOS] - Retry Leo Purchases & Add Logging (#22791) * Add Logging View for Leo Purchases. * Add logs everywhere which can be accessed via Console.app * Retry purchase receipt syncing up to 10 times if purchase transaction was verified. * Revert manual refreshing logic as it doesn't help. * Fix performance of rendering chat messages. Signed-off-by: Brandon T <[email protected]> * [iOS] - Fix layout of WrappingHStack when text becomes multi-line (#22608) * Fix layout of WrappingHStack when text becomes multi-line. * Also fix spacing between items in the wrapping HStack on iOS 15 when line becomes multi-line. Signed-off-by: Brandon T <[email protected]> * Fix compilation.Throw error when payment processing fails. Signed-off-by: Brandon T <[email protected]> --------- Signed-off-by: Brandon T <[email protected]>
* [iOS] - Retry Leo Purchases & Add Logging (#22791) * Add Logging View for Leo Purchases. * Add logs everywhere which can be accessed via Console.app * Retry purchase receipt syncing up to 10 times if purchase transaction was verified. * Revert manual refreshing logic as it doesn't help. * Fix performance of rendering chat messages. Signed-off-by: Brandon T <[email protected]> * [iOS] - Fix layout of WrappingHStack when text becomes multi-line (#22608) * Fix layout of WrappingHStack when text becomes multi-line. * Also fix spacing between items in the wrapping HStack on iOS 15 when line becomes multi-line. Signed-off-by: Brandon T <[email protected]> * Fix compilation.Throw error when payment processing fails. Signed-off-by: Brandon T <[email protected]> --------- Signed-off-by: Brandon T <[email protected]>
Also fix spacing between items in the wrapping HStack on iOS 15 when line becomes multi-line.
Resolves brave/brave-browser#36805
Submitter Checklist:
QA/Yes
orQA/No
;release-notes/include
orrelease-notes/exclude
;OS/...
) to the associated issuenpm run test -- brave_browser_tests
,npm run test -- brave_unit_tests
wikinpm run presubmit
wiki,npm run gn_check
,npm run tslint
git rebase master
(if needed)Reviewer Checklist:
gn
After-merge Checklist:
changes has landed on
Test Plan: