GUI components misplace on different PCs

Use this forum to ask questions after your subscription maintenance expires or before you buy. Need information on licensing or pricing? Questions about a trial version? This is the right place for you. No scripting questions, please.
Forum rules
DO NOT POST SUBSCRIPTION NUMBERS, LICENSE KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM.
Only the original author and our tech personnel can reply to a topic that is created in this forum. If you find a topic that relates to an issue you are having, please create a new topic and reference the other in your post.
HWLDOME
Posts: 11
Last visit: Mon Jan 10, 2022 6:25 pm
Has voted: 1 time

GUI components misplace on different PCs

Post by HWLDOME »

To help you better we need some information from you.

*** Please fill in the fields below. If you leave fields empty or specify 'latest' rather than the actual version your answer will be delayed as we will be forced to ask you for this information. ***

Product, version and build:
Operating system:
PowerShell version(s):
32-bit version of software?

*** Please add details and screenshots as needed below. ***

DO NOT POST LICENSES, KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM

Hi,

May I know how to solve the GUI component misplace issue? I create GUI code on PC 1 via Powershell studio, and then I import the project to powershell studio on PC 2, the GUI components misplaced. May I know how to solve this issue? pls check the attachment for the issue illustration. Thank you

Image
Attachments
Screenshot 2022-01-10 102742.jpg
Screenshot 2022-01-10 102742.jpg (77.02 KiB) Viewed 2675 times
User avatar
brittneyr
Site Admin
Posts: 963
Last visit: Fri Jan 21, 2022 2:46 pm
Answers: 22
Been upvoted: 18 times

Re: GUI components misplace on different PCs

Post by brittneyr »

Without seeing any code, I'm guessing you are not properly resizing the form and anchoring the controls.
The following articles may be helpful:
https://info.sapien.com/index.php/guis/ ... i-displays
https://info.sapien.com/index.php/how-t ... g-controls
https://bytecookie.wordpress.com/2011/0 ... he-basics/
Brittney Ryn
SAPIEN Technologies, Inc.