3 ms·
> if you want to get things aligned in a certain way I want things to align as the native GUI does. I don't want apps that break my assumptions about what the
by rbanffy 4y ago
> if you want to get things aligned in a certain way
I want things to align as the native GUI does. I don't want apps that break my assumptions about what the UI should be and how buttons should present and where they should be.
Then, if the app is running on a different platform, it's reasonable for the users to expect it to adhere to their own UI conventions.
This is why a lot of toolkits will restrict the way you shape your UI elements - they are the layer that imposes consistency.
- raincole 4y agoBut most cross-platform native apps I've seen don't feel like "native GUI" at all. Blender doesn't. Godot doesn't. Krita doesn't. Maybe it's an OSS thing?
- jen20 4y agoNo, it’s a “product manager who wants their apps to look the same everywhere rather than respecting users” thing.
- dheera 4y ago> as the native GUI does The native GUI does nothing. If you lay out something and resize the window to be smaller, your GUI will just get cropped, and there will be buttons offscreen. That's not a good experience. Also when you have, say, a chatroom where you have a huge box of scrolling content and then an entry area, you typically want the entry area to be constant height and the scrolling content to fill the remaining space, whereas there are other applications where you might want a percentage-based split. The native GUI doesn't know you want this. You have to somehow tell it that. CSS makes it super easy. Other toolkits make it very annoying to specify logic like this.
- ridiculous_fish 4y agoAll native GUI toolkits from the last three decades allow you to reflow elements in the way you describe. Both CSS and native toolkits make it simple to express how elements move and stretch in response to window resizing. Where CSS falls down is anything user-resizable. For example, a split view that collapses instead of cropping a text label. The CSS "resize" property is awful.