LabVIEW Idea Exchange

cancel
Showing results for 
Search instead for 
Did you mean: 
crelf

Allow 0pixel size splitter bars

Status: New

We've all seen the demo that shogg did where he set the color of his splitter bars to the panel color so they disappear at run time, but what if the splitter goes over background controls that you want to persist between panels?

 

22583iA7F722F2038D69E4

 

It look slike the smallest i can have my splitter bars is 2 pixels.  I totally want them to show up in edit mode, but I'd like them to be 0 pixels wide in run mode (selectable, of course).





Copyright © 2004-2023 Christopher G. Relf. Some Rights Reserved. This posting is licensed under a Creative Commons Attribution 2.5 License.
27 Comments
wiebe@CARYA
Knight of NI

I don't rule out a community version. It's just that it's so much work. Just dumping it is easy. But I'd need some justification (at least marketing exposure) and to make that happen takes time. And finishing stuff and planning isn't my strong suit.

 

Also, it works for me, but the first obvious thing someone else tries might fail dramatically.

 

Biggest pain now is decorations that *still* don't have labels (or references)...

Thomas_robertson
Active Participant

Hi folks, I was confused by these responses since I had already made it work.  Upon further examination it only works in a subpanel.  Here's an example:

https://forums.ni.com/t5/LabVIEW/Example-of-transparent-splitter-bars/td-p/3740503

wiebe@CARYA
Knight of NI

I was confused by these responses since I had already made it work. 

My bad (, bringing up transparent splitters in 2013).

 

The real issue here is 0 pixel splitters. Transparent splitters was just a side track.

Hooovahh
Proven Zealot

Finally a solution has been made which allows for a 0px splitter...but it is a hack and you probably don't want it, and there's still room for improvement...but it's here.  Over on LAVA Flarn has a way of creating controls which don't abide by some of the restrictions normally found.  With this he created a 0px vertical and horizontal splitter, which can't actually be clicked.  So to manipulate it you'll need to use scripting, or use something like the Splitter Manager.  With it I was able to make this UI where there are 6 panes, three on top, one on the left, one for the table, one on the bottom.  And resizing the UI makes just the table get larger.

 

VIE Panel Test.png

wiebe@CARYA
Knight of NI

Here's another solution:

https://github.com/Carya-Automatisering/Dynamic-Scaling

 

This solution involves the panels not even being there. I used it to create a dynamic number of panes, but a side effect is that controls can cover multiple panes, and that the sliders are invisible.

Hooovahh
Proven Zealot

Building off of the somewhat hacky solution from Flarn we have a slightly less hacky solution from prettypwnie.  Posted on the Tools Network is an update to the PaneRelief tool that allows for setting of many settings on the panes, and splitter bars including setting the splitter size down to 0px.

crelf
Trusted Enthusiast

Hooovahh FTW - following up on a post that's ten years old! ❤️





Copyright © 2004-2023 Christopher G. Relf. Some Rights Reserved. This posting is licensed under a Creative Commons Attribution 2.5 License.