godot-demo-projects icon indicating copy to clipboard operation
godot-demo-projects copied to clipboard

Main Screen Plugin: Print Hello button isnt centered vertically across the whole main screen

Open salloom-domani opened this issue 1 year ago • 3 comments

Which demo project is affected: main screen plugin

OS/device including version: OS: archlinx 6.6.8 GPU: Intel Iris Plus Graphics G1 Driver: vulkan-intel

Issue description: Print Hello button isnt centered vertically across the whole main screen

Screenshots of issue:

Screenshot

salloom-domani avatar Feb 14 '24 11:02 salloom-domani

I figured out that main screen plugins are by default VBoxContainer and you add nodes to them which now makes sense why the button isnt centered. The question becomes now how to change this behavior ?

salloom-domani avatar Feb 16 '24 12:02 salloom-domani

@salloom-domani Try setting the button's vertical size flags to expand and shrink center.

aaronfranke avatar Feb 16 '24 16:02 aaronfranke

@aaronfranke LIFE SAVER TYSM

salloom-domani avatar Feb 16 '24 17:02 salloom-domani