Skip to content
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

Left align featureshttps://github.com/SvenTiigi/WhatsNewKit/issues/new/choose #91

Open
gustanas opened this issue Sep 24, 2024 · 1 comment
Assignees

Comments

@gustanas
Copy link

Is your feature request related to a problem?

Currently, if a feature is short, the image and text are centered, which looks odd.

Simulator Screenshot - iPhone 16 - 2024-09-24 at 11 40 56

What solution would you like?

I'd like the feature list to be left aligned. Is there a way to achieve it?

What alternatives have you considered?

I looked into the available layout options but couldn't find a solution

Any additional context?

No response

@SvenTiigi
Copy link
Owner

Hi @gustanas,

You can adjust the featureListPadding leading parameter of the WhatsNew.Layout which is in default set to 15 to mimic the default layout of the native Apple WhatsNew screens:

featureListPadding: EdgeInsets = .init(top: 0, leading: 15, bottom: 0, trailing: 0),

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants