Jump to content
hugo_fr

UI Skin 1.0.7

Recommended Posts

Hi all,

This is an alternate tool to define objects size and position instead of LabVIEW native methods. (Scale Object with Pane)

It may not yet manipulate *all* objects correctly.

It is deployed as a Packed Library (LV 2010).

Label, Caption, and SubObjects (Graph Palette, Tabs, ...) are not used for position and size evaluation.

Each object size and position refers to the object "Core Bounds" and its container bounds. (Pane, Cluster, Page or SubPanel)

Here is a small example :

skin_illustration.jpg

Please tell me if you find unwanted behaviour.

Hugo

Skin Packed Library 1.0.7.zip

Share this post


Link to post
Share on other sites

Here is a simple demo. Percent and Offset controls can be modified with the mouse wheel.

It's a great idea. I have been thinking of such a way of panel design for a long time.

I didn't tested it (because of 2010), but I have some ideas you could consider:

  • Relative object placement - i.e place button 5px below bottom line of string control and horizontally centered to it. Something like label alignment in Label Manager RCF Plugin
  • Automatic handling resize event without necessity to manually adding it to block diagram - either universal daemon for handling all skinned VIs launched once during application init, or per VI daemons launched with subVI dropped somewhere on block diagram
  • Offline update with skin editor (if not done already)
  • Storing skins with VI tags (skins are tied to VIs as tight as possible)
  • I would rather call them layouts, not skins...

Share this post


Link to post
Share on other sites

It's a great idea. I have been thinking of such a way of panel design for a long time.

I didn't tested it (because of 2010), but I have some ideas you could consider:

  • Relative object placement - i.e place button 5px below bottom line of string control and horizontally centered to it. Something like label alignment in Label Manager RCF Plugin
  • Automatic handling resize event without necessity to manually adding it to block diagram - either universal daemon for handling all skinned VIs launched once during application init, or per VI daemons launched with subVI dropped somewhere on block diagram
  • Offline update with skin editor (if not done already)
  • Storing skins with VI tags (skins are tied to VIs as tight as possible)
  • I would rather call them layouts, not skins...

Hi,

  • Relative object placement is not so easy, it may create circular links. I'll think about it ...
  • Adding an event Pane:Resize and link it to the Redraw VI is not much ... and i allways want to be aware of which code is executing, and when...
  • It is already possible to update the VI Offline (without any code in the target VI), but you need at least the VI Front Panel opened.
  • Skins are stored in tags. It is possible to export/import skin for dynamic change in the layout. You can import/export skin directly from the Editor (Right click on VI List)

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.