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

Remove absolute positioning from UI examples where possible #6890

Open
ickshonpe opened this issue Dec 8, 2022 · 2 comments
Open

Remove absolute positioning from UI examples where possible #6890

ickshonpe opened this issue Dec 8, 2022 · 2 comments
Labels
A-UI Graphical user interfaces, styles, layouts, and widgets C-Examples An addition or correction to our examples

Comments

@ickshonpe
Copy link
Contributor

ickshonpe commented Dec 8, 2022

What problem does this solve or what need does it fill?

Absolute positioning is straightforward and easy to understand. However, many users struggle with using the other style properties correctly. Providing more examples of their use could help users better understand these properties.

What solution would you like?

Instead of using absolute positions, use combinations of the other style properties to achieve the same effect.

@ickshonpe ickshonpe added C-Feature A new feature, making something new possible S-Needs-Triage This issue needs to be labelled labels Dec 8, 2022
@mockersf
Copy link
Member

mockersf commented Dec 8, 2022

#6743 doesn't fix any bug related to positioning, so it shouldn't change anything?

Also, absolute positioning is not something bad in itself, why would you want to get rid of it?

@ickshonpe
Copy link
Contributor Author

#6743 doesn't fix any bug related to positioning, so it shouldn't change anything?

I dunno, there are fixes for bugs that affect the layout which affect positions etc. Anyway rewrote the issue, it was written badly, I shouldn't have included that part.

Also, absolute positioning is not something bad in itself, why would you want to get rid of it?

Yes it's not bad or anything, but it's less flexible and portable etc so shouldn't be encouraging people to use it unless they have to.

@james7132 james7132 added C-Examples An addition or correction to our examples A-UI Graphical user interfaces, styles, layouts, and widgets and removed S-Needs-Triage This issue needs to be labelled C-Feature A new feature, making something new possible labels Dec 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-UI Graphical user interfaces, styles, layouts, and widgets C-Examples An addition or correction to our examples
Projects
None yet
Development

No branches or pull requests

3 participants