scenic icon indicating copy to clipboard operation
scenic copied to clipboard

Desktop use: Auto-scale

Open ShalokShalom opened this issue 6 years ago • 2 comments

What problem does this feature solve?

Hi there. :)

I just see this video and you say at 33:26 that Scenic has no auto-scale solution.

In the readme on this page, you say Scenic works well with my desktop

Desktops have different screen sizes.

What is your proposed solution?

Add optional auto-scaling.

ShalokShalom avatar May 12 '19 16:05 ShalokShalom

If you build a fixed-size UI, Scenic should be fine for the desktop. You could also write your UI in a way that you calculate your dimensions from the resolution of the device after somehow interrogating the device.

Last I spoke to Boyd I got the feeling that if Scenic gets auto-scaling and that sort of responsiveness it would probably be very basic and that the preferred way would be that there is a contrib library that provides a good auto-scaling solution to the UI framework.

I think he is right too. I think Scenic should be fairly simple but offer great power and people can contribute more opinionated abstractions to implement that sort of featureset. Embedded/Connected devices are a big focus for example and those generally do not have a lot of display sizes to cover and the code for that would be wasteful.

So I agree, it would be incredibly useful. But I believe it is something that should happen from the surrounding ecosystem. Does that make sense to you?

lawik avatar May 21 '19 12:05 lawik

Perfect sense.

ShalokShalom avatar May 21 '19 13:05 ShalokShalom