Ancestors

Written by Jan Ekholm on 2024-10-28 at 14:22

It would be nice if using lists in SwiftUI wasn't so god damn hard to make look right. In this case there's a Form with some metadata and then a List with the content. There's no spacers or similar between the two. Still bugs in SwiftUI inserts a massive empty vertical space between the two and it can apparently not be removed. The only way is to recreate the components from scratch correctly.

[#]swiftui #bugs #layout #fuckingbuttugly

=> View attached media

=> More informations about this toot | More toots from chakie@toot.community

Toot

Written by Jan Ekholm on 2024-10-28 at 14:37

The problem here is the blue part, it's the background for the top Form. There's absolutely no reason for SwiftUI to give is that much space, it doesn't request it nor need it. I guess I need to rewrite (again) and provide a way to do this without a Form.

I guess the root is that there's a UITableView underneath everything and it just does not work well.

Could report a bug, but at this point it would just be ignored. Sigh... :(

=> View attached media

=> More informations about this toot | More toots from chakie@toot.community

Descendants

Proxy Information
Original URL
gemini://mastogem.picasoft.net/thread/113385553149421971
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
254.054092 milliseconds
Gemini-to-HTML Time
0.691922 milliseconds

This content has been proxied by September (3851b).