On Tuesday, 1 August 2017 at 15:18:12 UTC, ashit wrote:
i couldn't set control's width and height (Button widget) shows error. maybe it works a different way.

1. Try layoutHeight/width. Remember to set it for the main widget too, not just the children of it.

2. DlangUI is not intended to define sizes in pixels as a standard practice. Instead, use layouts and layout sizes. This is intended to courage you to make your program resolution-agnostic.

But I'm a beginner at this topic too. Take these with a grain of salt

Reply via email to