Hi,
There is a problem in the Designer that when I add some controls to the Desktop and set the Anchor to None or Left | Right, (or any values other than Left | Top), the Location of the control will change to a very big value, such as (3406, 723), which make the control moved out of the visible screen.
I tried update the control location value using the Designer and also modify the *.Designer.cs file but it will rollback to that random big value after save.
Sometimes, if the Anchor value of the control is set to “Left | Right”, the width of that control will also change to a very big value.
Currently, What I can do is to change them to “Left | Top” and it will not have this problem.
(I have update my WiseJ to the latest version 1.3.37.0)
Thanks and regards,
Felix CHAN
Hi Felix,
WJ-8068 is fixed in our latest relesae (1.3.38) that has just been uploaded.
Best regards
Frank
Thank you. I couldn’t reproduce because it happens when the Desktop (or Page) are inherited because the Dock=Fill is set too soon by the designer. It’s logged as WJ-8068.
Hi Luca,
I have the old 1.3.37 installed and now I have download and install the new 1.3.37.
However the problem is still here. Attached please find two set of screen captures in the zip file:
— Screen XX.JPGs were captured at the time I create my Desktop in the Designer screen in Visual Studio 2015,
— — Screen 01 show that the everything is centered in the screen,
— — Screen 02 show that the Label have Anchor = Left | Right and the Size is correct.
— — Screen 03 show that the project run in Debug mode, everything look good.
— while the second set of images, Error XX.JPGs, were captured after re-open the Desktop in the Designer.
— Error 01 show that the everything is moved to bottom right of the Desktop.
— Error 02 show that the Label is moved outside of the Desktop visible area and also the size is much bigger than before.
— Error 03 show that when run the project in debug mode, all controls moved to bottom right and some are out of the visual area.
I have clean the solution, rebuild, etc… But the problem is still here.
Regards,
Felix CHAN
This issue was connected to WJ-8063:Changing the Font of a container (Form, Page) causes controls with AnchorStyle = None to be misaligned. which is fixed in 1.3.37. I can’t reproduce anymore also with a Desktop control. Do you get the issue with a plain Desktop control and a single child control with Anchor = None?
Make sure you have 1.3.37, for 1 day it was not installable because the signing certificate expired yesterday and was updated at the end of the day.
Please login first to submit.