SplitterWidth must be greater than or equal to 1

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.
This topic is 3 years and 2 weeks 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.
Locked
ajkundna
Posts: 7
Last visit: Fri Jul 30, 2021 12:47 pm

SplitterWidth must be greater than or equal to 1

Post by ajkundna »

PowerShell Studio 2021 - x64
v5.8.187.0

After I package my source code on Machine A and install it (on any machine), the application launches with below error
Error: value of '0' is not valid for 'SplitterWidth'
(screenshot attached).
SplitterWidthError.jpg
SplitterWidthError.jpg (18.03 KiB) Viewed 943 times
Same if I package on Machine B, it installs fine.

Is there any specific configuration I could be missing which causes this error?

I've exported the source code into single file and searched all SplitterWidth, all of them are set to 1.

Regards
Ajay Kundnani
jvierra
Posts: 15439
Last visit: Tue Nov 21, 2023 6:37 pm
Answers: 30
Has voted: 4 times
Been upvoted: 33 times

Re: SplitterWidth must be greater than or equal to 1

Post by jvierra »

For issues with the packager please post in the support forum.

viewforum.php?f=12
This topic is 3 years and 2 weeks 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.
Locked