NI Home
Cart Cart | Help
Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

Currently Being Moderated

Size Window to Contents Plugin

VERSION 3

Created on: Jul 27, 2009 11:20 PM by jsiegel - Last Modified:  Jul 29, 2009 1:11 PM by jsiegel

Size Window to Contents is a plugin for the JKI Right-Click Framework for LabVIEW

 

Introduction

I like the Front Panel and Block Diagrams windows of my VIs to be just large enough to show all the contents.  I created this code a while ago to put in my Tools menu to "fix" windows of VIs that I open, and I adapted it to use the RCF.  It even takes advantage of the simple method to add configurable parameters!

 

This plugin resizes the contents of the selected window to enclose its contents plus a configurable whitespace border.  The window will either grow or shink depending on the window contents, but it will not grow beyond the size of the screen (or screens if you have multiple monitors).

 

The plugin only works when you have nothing selected on the FP or BD, and it doesn't work on FP's with multiple panes.  It could be enhanced to work on other objects like tab controls, clusters, structures, etc.  Maybe I'll add those features some day.

 

 

Steps to Complete

Unzip the folder into the <LabVIEW>\resource\JKI\RCF\Plugins\ folder and restart the framework.

 

 

Additional Notes

Version 1.0.1.

Saved in LabVIEW 8.6.1.

 

Downloads:
Average User Rating
(1 rating)




James Kring James Kring  says:

Great idea!  Thanks for sharing this plugin.  I've added a link to this page on the List of Community Plugins for the JKI Right-Click Framework.

crossrulz crossrulz  says:

Very nice.  My only complaint is that there should be a limit to how small the panel gets.  For instance, I like to see all of the toolbar.  Otherwise, great tool!

IPTN IPTN  says:

Please tonvert to 8.2

More Like This

  • Retrieving data ...