LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Splitter 3 charts in one window

Solved!
Go to solution
Good day,
I need help with splitters. (See Annex)

I have 3 graphs in one window (2x strip chart 1x edit graph) and I still can't figure out that all three of them are going to stretch together.

Each time the graphs somehow distort and do not maintain the same size as the same uir.

I want the layout to be like in a UIR file.

Anyone help me?

I have set that the window must be maximized when starting the program.

Then I want to move the window and the graphs to fit the window.

Thank you for help.
Nice day
Michael
0 Kudos
Message 1 of 6
(4,698 Views)

This task cannot be accomplished with one splitter only, since you have some controls to be moved and sized simultaneously.

So you either add more splitters and move the proportionally or you enable automatic panel sizing checking Scale contents on resize option inpanel attributes (press Other attributes... button)



Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
0 Kudos
Message 2 of 6
(4,614 Views)
Hi roberto,
thanks for the reply.

If I give Scale contents, I get bigger font, numbers, scales and it's kind of awkward. I just tried that.

So I'll try to add more splitters and see the result.
0 Kudos
Message 3 of 6
(4,609 Views)
I tried to insert for each graph splitter. Unfortunately, I don't know how to edit it to make it work.
Thanks for the help
0 Kudos
Message 4 of 6
(4,604 Views)

I've never been a fan of splitters: they are limited in what they can do, it's not possible to tell how they operate by looking at them and they came out only recently.

Personally I much prefer to catch the EVENT_PANEL_SIZE, get the panel width and height and then size things exactly as I want in software. It's more time consuming you you get things to look exactly right.

0 Kudos
Message 5 of 6
(4,515 Views)
Solution
Accepted by topic author MajklS
Yes you are right, unfortunately I have different monitors and also in a different resolution, so I need to automatically adjust the charts.
I have already solved this problem by giving two splitters and one chart to the maximum width and the other two in the UIR only increased and assigned them only offset.
0 Kudos
Message 6 of 6
(4,510 Views)