FellippeHeitor / InForm

A GUI engine and WYSIWYG interface designer for QB64
MIT License
61 stars 15 forks source link

Maximizing and Auto Centering #99

Closed ghost closed 4 years ago

ghost commented 5 years ago

Is there an option or will there be an option in the future for having fullscreen applications that have auto centering/auto sizing controls? I suppose that can be achieved by just using the QB64 _FULLSCREEN command and just editing the size and position at runtime in the meantime.

callowaysutton commented 5 years ago

You can already do this using the _RESIZE function in QB64, just multiply whatever percent you want. Add this into

IF _RESIZE THEN rx& = _RESIZEWIDTH: ry& = _RESIZEHEIGHT

Having this built in would be a nice feature but its not really necessary

FellippeHeitor commented 4 years ago

You sure can take an InForm application fullscreen, but that's not really the goal, since we're creating forms to take user input. It wouldn't make much sense to occupy the whole screen just for that.

ghost commented 4 years ago

It would be handy for someone in tablet mode on Windows 10.

callowaysutton commented 4 years ago

It would be handy for someone in tablet mode on Windows 10.

True, I was also thinking about using Inform last year when a school wanted me to make some check-in software for them (they ended up contracting someone elsewhere)