I want full screen use

I set it up like this.

this by switching to landscape mode.

I hope to be like this.
Do this when running in landscape mode.

Is there an option available automatically?

From the node’s widget
Should I call updateAlignment manually?

You could uncheck align once option in Widget component or you could call updateAlignment manually.

Be careful, if you uncheck the align once option, the updateAlignment method will be called each game frame.
So it might make an impact on your game perfs.

I recommend you to call updateAlignment manually.

1 Like

Hi, this is the kind of tips that I miss a lot from the documentation. I use many widgets in my game and I always uncheck align once but I was unaware of the performance consequences.

Would it be possible to create a doc with performance tips?
We will really appreciate it.

Thanks!

‘Align once option’ is now found.
Thank you.

Yes, we need polish all of the existing docs and we definitely should provide a performance tips or best practice reference.

I could write some kind of these docs if I have time.

Now my focus is mainly bug fixing.

After v1.5.1 is released, I will try to write some docs.

1 Like