11-18-2014 10:46 AM - edited 11-18-2014 10:49 AM
I know you can't make splitter bars transparent. But, I have an X Control which is set to scale with the pane. When it grows, things work fine but the splitter bars extend and it looks awful. Any suggestions? Maybe some kind of decoration to cover them.
Edit: I can't just resize the X Control facade smaller, because then I don't get the alignment on my graph correct. It will cut off the X Axis Label. I want the bottom of the graph to align with the bottom of the listbox, not the bottom of the graph bounds.
Solved! Go to Solution.
11-18-2014 10:52 AM - edited 11-18-2014 10:52 AM
This is what it looks like if I size the X Control facade so I don't see the splitters when it grows. I think it looks pretty bad. This is with teh bottom of the graph bounds aligned with the listbox
11-18-2014 12:42 PM
you can make the Classic splitter bar the same color as the background of the front panel...essentially making it transparent.
11-18-2014 01:13 PM
@aputman wrote:
you can make the Classic splitter bar the same color as the background of the front panel...essentially making it transparent.
Yup, for this to work you will need to programatically read the owning VI of your XControl, get the pane of that owning VI that the XControl is in, and then using the references to your splitters, change the color. Sounds like a bit of a pain.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
17 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord
11-18-2014 01:16 PM
@Hooovahh wrote:
@aputman wrote:
you can make the Classic splitter bar the same color as the background of the front panel...essentially making it transparent.
Yup, for this to work you will need to programatically read the owning VI of your XControl, get the pane of that owning VI that the XControl is in, and then using the references to your splitters, change the color. Sounds like a bit of a pain.
Or just paint it....assuming you won't be changing the background color.
11-18-2014 01:18 PM - edited 11-18-2014 01:20 PM
@aputman wrote:
Or just paint it....assuming you won't be changing the background color.
Why would you assume that? I don't know what kind of front panel an XControl is being placed on.
EDIT: Maybe I mis-understood, where the splitters would be. If they are in the facade and that doesn't change color then yes, make it the same color as the background.
DOUBLE EDIT: Also there is this idea for a 0pixel splitter
http://forums.ni.com/t5/LabVIEW-Idea-Exchange/Allow-0pixel-size-splitter-bars/idi-p/1229909
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
17 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord
11-18-2014 01:23 PM
You said it sounded like a lot of a pain. I was just removing the pain.
11-18-2014 01:26 PM
@aputman wrote:
You said it sounded like a lot of a pain. I was just removing the pain.
![]()
Yeah it is a pain working with panes for sure. But honestly it is the best tool LabVIEW has today to handle window resizing. Which is a little unfortunate.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
17 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord
03-26-2019 01:16 PM - edited 03-26-2019 01:17 PM
Old thread I know but I just found a different solution. You can color the splitter the transparent color (0d16777216) and when the XControl is placed on a front panel the splitters will be transparent, and will look the color of the front panel on the new VI. In the non-running Facade the splitters will look black. The panes themselves by default should be transparent if the VI properties are set as described here.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
17 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord