Textboxes and labels are not scaling correctly

This forum can be browsed by the general public. Posting is limited to current SAPIEN license holders with active maintenance and does not offer a response time guarantee.
Forum rules
DO NOT POST LICENSE NUMBERS, ACTIVATION 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.

Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
This topic is 6 years and 5 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.
User avatar
falconcurt
Posts: 19
Last visit: Mon Jan 29, 2024 11:17 am

Textboxes and labels are not scaling correctly

Post by falconcurt »

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: Powershell Studio 2017, 5.4.145
32 or 64 bit version of product: 64 bit
Operating system: Windows 10
32 or 64 bit OS: 64 bit

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

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

I am having problems with my Windows Form displaying correctly. I have attached two pictures to this topic. One shows the correct look of the tool i created and the other shows the overlapping of some of the boxes. The picture that has the incorrect format is the one i am opening from a laptop on. The picture with the correct format is the desktop one. I have tried to play around with resolution. No success...I have tried to play around with autosizing, again....no success. I have looked through this site https://info.sapien.com/index.php/guis/ ... i-displays. No success. :(

Any insight will be helpful.
Attachments
correct format.JPG
correct format.JPG (38.7 KiB) Viewed 1275 times
incorrect format.JPG
incorrect format.JPG (47.43 KiB) Viewed 1275 times
User avatar
davidc
Posts: 5913
Last visit: Mon Jul 08, 2019 8:55 am
Been upvoted: 2 times

Re: Textboxes and labels are not scaling correctly

Post by davidc »

This can depend on how the controls are anchored (without the form this is just a guess), but I recommend using a TableLayoutControl. This will ensure that the labels don't overlap with the textboxes.
David
SAPIEN Technologies, Inc.
This topic is 6 years and 5 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.