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.
This topic is 2 years and 2 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.
HWLDOME
Posts: 11
Last visit: Thu Jun 15, 2023 10:13 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 11559 times
User avatar
brittneyr
Site Admin
Posts: 1654
Last visit: Thu Mar 28, 2024 6:54 am
Answers: 39
Been upvoted: 30 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
SAPIEN Technologies, Inc.
This topic is 2 years and 2 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.