BUG:: SplitContainer SplitterWidth

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.
User avatar
sapowernetworks
Posts: 6
Last visit: Fri Jun 11, 2021 7:08 pm

BUG:: SplitContainer SplitterWidth

Post by sapowernetworks »

Product, version and build: Powershell Studio 5.8.188
Operating system: Windows 10 20H2 Latest Updates
PowerShell version(s): 5.1.19041.906

I think this is a bug:

Start a new empty form
Add a SplitContainer and set to horizontal orientation.
place a listbox in both panels with IntegralHeight set to false and add bottom to the anchor.
Check the height of the listbox's. mine are 96.
Save, close and re-open.
The list boxes are the same height. all is good.

Now set the splitContainer SplitterWidth to 2.
Save, close and re-open.
The panel1 listbox height is 96 but the panel2 listbox height is 100.
Save, close and re-open.
The panel1 listbox height is 96 but the panel2 listbox height is 102.

The listbox in Panel2 keep growing in height.

Just letting you know.
Regards
Rodney
by brittneyr » Fri May 21, 2021 2:19 pm
I've been able to reproduce this behavior and I have found this to be a .NET bug. I will report the problem. I have also found while researching this bug other issues related to the splitter control that may or may not be related.
Go to full post

User avatar
brittneyr
Site Admin
Posts: 797
Last visit: Mon Jun 21, 2021 11:50 am
Answers: 15
Been upvoted: 11 times

Re: BUG:: SplitContainer SplitterWidth

Post by brittneyr »

We will look into this and get back to you soon!
Brittney Ryn
SAPIEN Technologies, Inc.

User avatar
brittneyr
Site Admin
Posts: 797
Last visit: Mon Jun 21, 2021 11:50 am
Answers: 15
Been upvoted: 11 times

Re: BUG:: SplitContainer SplitterWidth

Post by brittneyr »

I've been able to reproduce this behavior and I have found this to be a .NET bug. I will report the problem. I have also found while researching this bug other issues related to the splitter control that may or may not be related.
Brittney Ryn
SAPIEN Technologies, Inc.