New widget size

What do you want to achieve?

When adding a new widget could you default to Width and Height being in pixels rather than content.
Perhaps the majority prefer ‘content’ as the default in which case, ignore this request but I prefer laying out my UI using pixel coordinates and sizes.

Do you see alternative options and workaround to achieve it?


Mention some use cases



What could be the default width/height for example for a label?

Or what if there were “bullets” on the blue bounding box to resize the widgets even with content size? In this case if you change resize the widget the width/height automatically changes to pixels.

In most designer applications, when you place a label it has some default text (as does SLS) so I guess the default width and height would match the default font and the default text?

Does ‘content’ mean that it auto sizes to whatever content the widget contains - if so perhaps ‘content’ is the best default?


Yes it works exactly like this :slight_smile: