- Home /
[solved] UI 4.6 Screen space canvas position
Hi, I have run today during styling of my interface to issue where one canvas is somehow offseted to a display. The "border" created by rectangle tool (or how is it called) is correct display and the second, filled rectangle is an image, filling the other canvas (its pretty much exactly representing the other canvas). Both canvases are set to screen space - overlay. Any idea what could cause this?
You could have offsetted it by dragging it with a mouse for all I know. Is this a persistent problem or can you fix it by reselecting the anchor setup in Inspector for Rec Transform? Click on the Anchor Presets in Rect Transform and click on the most lower right preset holding Shift and Alt to position this panel over the whole screen.
It's not actually possible to offset it, because its controlled by the canvas in "screen space - overlay" mode. I tried what you said and I can only move it in Z axis. In Rect. Transform it says "some values are driven by canvas".
Answer by adsamcik · Dec 28, 2014 at 09:32 AM
ah I found what the issue was cause by. The canvas was child of another gameobject which wasn't at 0,0,0. I didn't thought of it because there was not way of moving the canvas itself so I thought, ok it is probably moved to fit the screen. Well it is but only in local coordinates.
Your answer
Follow this Question
Related Questions
UI 4.6 Flash effect/Saturation for Image? 5 Answers
new UI image, button 1 Answer
Unity 4.6 New UI Button OnHoldPressed 0 Answers
2 Scrollrects and Parallax effect 2 Answers