Details
-
Bug
-
Resolution: Done
-
P2: Important
-
Qt Creator 3.0.0, Qt Creator 3.1.0-beta
-
None
Description
Reproduce:
1. QtC: Create a Qt Quick Hello World, make it 800x800
2. Designer: Create a rectangle, say 200x200 at 100,100 coordinates
3. Code: RightClic the rectangle->Refactoring->Move to Separate File
The new file has 100,100 coordinates making it move 100,100 pixels on each instance. The main qml has not set x,y coordinates
Expected:
The new file to have x,y coordinates as (0,0), the parent to have (100,100) applied to the instance.
This might be applied to anchors too.