Watch, Follow, &
Connect with Us

Please visit our new home
community.embarcadero.com.


Welcome, Guest
Guest Settings
Help

Thread: VCL Windows TSplitView Issue


This question is not answered. Helpful answers available: 2. Correct answers available: 1.


Permlink Replies: 2 - Last Post: Jun 17, 2017 9:02 AM Last Post By: Paul Jackson Threads: [ Previous | Next ]
Paul Jackson

Posts: 48
Registered: 3/2/17
VCL Windows TSplitView Issue  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jun 14, 2017 9:56 AM
I'm using C++Builder 10.2 Tokyo Version 25.0.26309.314

So there seems to be an small issue with the Width parameter in the TSplitView. There is a discrepancy between what you see in the design mode and when it's running. What happens is when the panel opens, closes, then reopens, the width is less than what it appears to be when first opened and in the design mode.

So my workaround is simply opening then closing the opening the panel again and setting the width to the desired value. But the issue really rears it's head when I go from a release on a Windows 10 box to a Windows 7 box. The panel to the right of the opened "drawer" is again less than it appears on my Windows 10 machine?

Has anyone else seen this issue? What are your workarounds?

I would like to attach images to show but don't know how or if it's allowed in the forums.

Thank you for any feedback.
Asger Joergensen

Posts: 367
Registered: 11/18/08
Re: VCL Windows TSplitView Issue  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jun 15, 2017 1:08 AM   in response to: Paul Jackson in response to: Paul Jackson
Hi Paul

Paul Jackson wrote:

I would like to attach images to show but don't know how or if it's allowed in
the forums.

There is a special group for attachments:
https://forums.embarcadero.com/forum.jspa?forumID=2&start=0

Best regards
Asger
Paul Jackson

Posts: 48
Registered: 3/2/17
Re: VCL Windows TSplitView Issue  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jun 17, 2017 9:02 AM   in response to: Asger Joergensen in response to: Asger Joergensen
Asger Joergensen wrote:
Hi Paul

Paul Jackson wrote:

I would like to attach images to show but don't know how or if it's allowed in
the forums.

There is a special group for attachments:
https://forums.embarcadero.com/forum.jspa?forumID=2&start=0

Best regards
Asger

Hi Asger, thank you for the response.

Yes I will upload the images to the group and put a link to it here. I'm fairly confident I can solve the issue using anchoring to make the UI elements stay where they should be.

I believe the issue with the TSplitView drawer is internal to the component. There is a demo video from Embarcadero on youtube where you can see it happening, I'll try to find it again and post a link. Basically what happens is that the open panel is wider than the width setting the first time it opens. Once closed and reopened it appears as it should based on the width value. Anyway it's not a game ender, just annoying.

You can find the post in the attachments forum under the subject: TSplitView drawer sizing issue
Legend
Helpful Answer (5 pts)
Correct Answer (10 pts)

Server Response from: ETNAJIVE02