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
Describe the bug
Starting with v 3.x the onboarding window changes the text alignment for body to left justified when the text wraps to a new line. I believe this may be a regression since v2.9.1 works as expected.
To Reproduce
Steps to reproduce the behavior:
Start onboarding UI with a page that has enough text in the body to wrap to a second line.
The text alignment changes from center to left justification.
See screenshot
Expected behavior
The text should remain centered when it wraps to the next line.
Screenshots
Onboarding with v3.x
Onboarding with v2.9.1
Desktop (please complete the following information):
OS: macOS 14.1
Project version: 3.0.0 - 3.1.0
Additional context
I tested each of the 3.x builds and encountered this behavior. v2.9.1 seems to work fine. I checked around and I didn't see documentation that this was new expected behavior.
The text was updated successfully, but these errors were encountered:
Hi @tautest-tenures, thank you for the report. Since the introduction of SwiftUI in IBM Notifier version 3.0.0, we have switched from a center-aligned body to a leading-aligned body in the onboarding UI. The good news is that if you prefer it to be centered, you just need to append your "body" text to your "subtitle". For example: "subtitle": "Welcome to your Mac.\n\nLorem ipsum dolor sit amet, consectetur ....".
Regarding your attached screenshots, I think the left-right margin for the text in the new UI is a bit small. I'll create an issue to track this. In the meantime, if you, like me, are not fond of the new margins, you can use \n in your text to decide where a new line should start. It's not the prettiest solution, but it's effective!
@SMartorelli, I appreciate the response, explanation and suggestions! I'll be sure to give your suggestions a try as it sounds like that will get me close to what I'm looking for. Thanks again for this great tool!
Describe the bug
Starting with v 3.x the onboarding window changes the text alignment for body to left justified when the text wraps to a new line. I believe this may be a regression since v2.9.1 works as expected.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The text should remain centered when it wraps to the next line.
Screenshots
![Image 1-24-24 at 10 30 AM](https://private-user-images.githubusercontent.com/127993095/299388492-26abc2b9-6cec-462b-9057-4dd02313b04f.jpg?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQ3MTY4NjMsIm5iZiI6MTcyNDcxNjU2MywicGF0aCI6Ii8xMjc5OTMwOTUvMjk5Mzg4NDkyLTI2YWJjMmI5LTZjZWMtNDYyYi05MDU3LTRkZDAyMzEzYjA0Zi5qcGc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwODI2JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDgyNlQyMzU2MDNaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT04M2M4YTA1ZDgxNGNhZWUzODI2YmRjMjE3NjczYmExYzY5YTAyZDFlY2JmMGU5MjE1NGFhNzE4NWJmMmE0YzU4JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.ifmsjK3AAc6KnL5kB3AEU3yrMPP2pp2k3gmWhd5GBQY)
Onboarding with v3.x
Onboarding with v2.9.1
![Image 1-24-24 at 10 29 AM](https://private-user-images.githubusercontent.com/127993095/299388736-12e4df1f-e7ef-4ae3-aa03-02472baa0506.jpg?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQ3MTY4NjMsIm5iZiI6MTcyNDcxNjU2MywicGF0aCI6Ii8xMjc5OTMwOTUvMjk5Mzg4NzM2LTEyZTRkZjFmLWU3ZWYtNGFlMy1hYTAzLTAyNDcyYmFhMDUwNi5qcGc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwODI2JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDgyNlQyMzU2MDNaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT0xY2FmYzVjNGQ3ZGM2ZjQwOWEzZWI0OTg4Y2IyOTRmYjhlNTFkZmE4MTM5YWZiNTQwY2JhZTVkNmQ1YzQ1YTU5JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.z458SnW4SmAQqQo4e81ROXYdLhlRXA7iMKBE44MrrhA)
Desktop (please complete the following information):
Additional context
I tested each of the 3.x builds and encountered this behavior. v2.9.1 seems to work fine. I checked around and I didn't see documentation that this was new expected behavior.
The text was updated successfully, but these errors were encountered: