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.
This topic is 2 years and 10 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
sapowernetworks
Posts: 9
Last visit: Tue Mar 05, 2024 3:56 pm
Has voted: 1 time

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: 1655
Last visit: Thu Mar 28, 2024 8:47 am
Answers: 39
Been upvoted: 30 times

Re: BUG:: SplitContainer SplitterWidth

Post by brittneyr »

We will look into this and get back to you soon!
Brittney
SAPIEN Technologies, Inc.
User avatar
brittneyr
Site Admin
Posts: 1655
Last visit: Thu Mar 28, 2024 8:47 am
Answers: 39
Been upvoted: 30 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
SAPIEN Technologies, Inc.
This topic is 2 years and 10 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.