LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

limit window size to a specific fixed Area

Solved!
Go to solution

Hello Together,

 

I've searched the forum for a while but didn't find an appropriate solution (maybe I missed it) but here's the Question:

 

for controlling a (rather complicated) test System I created a GUI, based on Tabs, as I have many controls an indicators.

for occasional bugfixing I have additional Indicators, which I'd like to leave.

 

for the final application I'd like to limit the window only for a specific area.

I tried Splitters and decorations, but none of this worked..

 

the whole front panel:

(currently with the splitters)

WWolf78_0-1639559617482.png

 

I'd like to reduce the Window, as soon as the System is running, limited to the center Splitter or anyhow to this Area:

 

WWolf78_1-1639559694366.png

 

what's the best way to achieve this?

 

Thanks!!

 

0 Kudos
Message 1 of 5
(1,880 Views)
Solution
Accepted by topic author WWolf78

Hi WWolf,

 

  1. I would get rid of all those splitters.
  2. Move the FP elements (select all, then move) so that the ROI is located at the FP origin with its upper left corner.
  3. Set the window size to show (only) your ROI.
  4. Hide scrollbars when executing (VI properties).

That should do the trick…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 2 of 5
(1,874 Views)

hi GerdW

 

thanks for the Tip!

 

I've tried doing but i didn't find it:

 

how to Pt 3 and 4, so setting window size and hiding the scrollbars?

0 Kudos
Message 3 of 5
(1,862 Views)

There's a beautiful OpenG VI on the application palette.
"Fit VI window to Largest Decoration"
I use that to size the UI on opening - it's nice and simple to use at runtime and set up a decoration at the back and put all the runtime controls on the decoration and add a bigger one if you need to for debug.

James

CLD; LabVIEW since 8.0, Currently have LabVIEW 2015 SP1, 2018SP1 & 2020 installed
0 Kudos
Message 4 of 5
(1,858 Views)

Hi WWolf,

 


@WWolf78 wrote:

how to Pt 3 and 4, so setting window size and hiding the scrollbars?


You find those options in the VI properties…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 5 of 5
(1,835 Views)