You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a Widget prefab with UICanvas as its root. the first child of it is a CanvasScaler.
With these properties:
Then I added a container control, called Building Buttons,with bounds and pivot as Horizontal Stretch Bottom. As seen below,
I assumed that the Widget prefab editor and the Game scene (after adding it into the Scene window) it will be a 1:1 ratio. However, it is not the case.
As you can see below, the Building Buttons is smaller than what was shown in the Widget editor. Even though it has the same Transform properties.
Game View port size is 1920x1080
Work-around
One solution is to just re-edit the Widget prefab in the Game Scene and just apply the changes to the prefab.
That is what I did with the button on the top left
Flax version:
Master & 1.9.6605
The text was updated successfully, but these errors were encountered:
Issue description:
I have a Widget prefab with
UICanvas
as its root. the first child of it is aCanvasScaler
.With these properties:
Then I added a container control, called
Building Buttons
,withbounds
andpivot
asHorizontal Stretch Bottom
. As seen below,I assumed that the Widget prefab editor and the Game scene (after adding it into the Scene window) it will be a 1:1 ratio. However, it is not the case.
As you can see below, the
Building Buttons
is smaller than what was shown in the Widget editor. Even though it has the sameTransform
properties.Game View port size is
1920x1080
Work-around
One solution is to just re-edit the Widget prefab in the Game Scene and just apply the changes to the prefab.
Flax version:
Master & 1.9.6605
The text was updated successfully, but these errors were encountered: