in the designer is different from the layout at debug time.

Ask questions about creating Graphical User Interfaces (GUI) in PowerShell and using WinForms controls.
Forum rules
Do not post any licensing information in this forum.

Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
Locked
winsoft
Posts: 24
Joined: Sun May 19, 2019 12:39 pm

in the designer is different from the layout at debug time.

Post by winsoft » Thu Jun 06, 2019 4:02 am

Hello everyone, I just found a problem, the layout I see in the designer is different from the layout at debug time.

Please see the animated GIF demo below
Attachments
err.psf
(70.75 KiB) Downloaded 19 times
err.gif
err.gif (70.25 KiB) Viewed 470 times

User avatar
jvierra
Posts: 13790
Joined: Tue May 22, 2007 9:57 am
Contact:

Re: in the designer is different from the layout at debug time.

Post by jvierra » Thu Jun 06, 2019 4:39 am

I cannot reproduce your issue. Ae you running on a hi-res monitor?

winsoft
Posts: 24
Joined: Sun May 19, 2019 12:39 pm

Re: in the designer is different from the layout at debug time.

Post by winsoft » Thu Jun 06, 2019 4:50 am

My screen resolution is 1366*768

I think the possible problem is that I am using the Simplified Chinese version of the system. :)

Very strange, I have encountered a lot of problems, but I still want to feedback and continue to try

Powershell studio is a great product

User avatar
jvierra
Posts: 13790
Joined: Tue May 22, 2007 9:57 am
Contact:

Re: in the designer is different from the layout at debug time.

Post by jvierra » Thu Jun 06, 2019 4:54 am

Try changing the scaling factor.

winsoft
Posts: 24
Joined: Sun May 19, 2019 12:39 pm

Re: in the designer is different from the layout at debug time.

Post by winsoft » Thu Jun 06, 2019 5:35 am

no effect

User avatar
jvierra
Posts: 13790
Joined: Tue May 22, 2007 9:57 am
Contact:

Re: in the designer is different from the layout at debug time.

Post by jvierra » Thu Jun 06, 2019 5:55 am

Then you likely have issues with the display drivers or with the font setup in the OS version you are using.

I don't believe that PSS has been designed for use in Chinese version of Windows. You should post in the PSS customer forum to see if any Sapien people have seen this.

User avatar
davidc
Posts: 5913
Joined: Thu Aug 18, 2011 4:56 am

Re: in the designer is different from the layout at debug time.

Post by davidc » Thu Jun 06, 2019 10:32 am

Make sure you anchor your controls or use a TableLayoutPanel to keep the controls from overlapping.

I recommend the following article as well:

https://info.sapien.com/index.php/guis/ ... i-displays
David
SAPIEN Technologies, Inc.

Locked