UI Interest Group Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

Decoration hidden menus

Full credit to the users on LAVA: https://lavag.org/topic/18469-i-found-some-more-hidden-ini-keys/

A hidden set of menus that may be of use when creating custom controls.

These only become available with the secret popups ini key set to true and when you are in the control customise mode.

The menus change depending on the main control type being customised.

Customise mode:

Customise mode.PNG

Added menus when right clicking a decoration of a cluster contol:

ImageRaw text (for search indexing)

Decoration customise menu.PNG

Keep Away Move

Left Move

Right Move

Top Move

Bottom Move

Left Grow

Right Grow

Top Grow

Bottom Grow

Left Prop Grow

Right Prop Grow

Top Prop Grow

Bottom Prop Grow

Aspect Grow

Slave to Frame

NoSelectMask

NoGrowMask

NoTrackMask

Credit source



Using LV2018 32 bit

Highly recommended open source screen capture software (useful for bug reports).

https://getsharex.com/
Message 1 of 11
(7,809 Views)

Example usage attached. Resizable control using 9 slice scaling.

No pixelation on resize. LV11 onwards.



Using LV2018 32 bit

Highly recommended open source screen capture software (useful for bug reports).

https://getsharex.com/
Message 2 of 11
(6,978 Views)

There is also a "Non-colorable boolean decal" option that shows up on decals, which lets you color the object underneath the decal.

0 Kudos
Message 3 of 11
(6,978 Views)

I cannot believe that NI has not opened the 9-slice button for the masses.  I have wanted this for years.

0 Kudos
Message 4 of 11
(6,978 Views)

I can't seem to find that one. I've tried importing an image from the clipboard and file to replace a button element, but no luck.

I see what you mean now after viewing these: https://decibel.ni.com/content/docs/DOC-17431



Using LV2018 32 bit

Highly recommended open source screen capture software (useful for bug reports).

https://getsharex.com/
0 Kudos
Message 5 of 11
(6,978 Views)

I know right! The same with loading and displaying images with 8bit alpha channels at runtime. It would oen up so many more possiblilities with that.

I wonder if it's theoretically possible to generate contols similar to the silver set that seem to support vectors with anti-aliasing. Or if those items are hard coded into LabVIEW.

https://lavag.org/topic/9749-labview-vector-format/



Using LV2018 32 bit

Highly recommended open source screen capture software (useful for bug reports).

https://getsharex.com/
0 Kudos
Message 6 of 11
(6,978 Views)

What is this ini key?  And can you possibly update the guide to give a walk through on how you created your example 9 slice?

Certified-LabVIEW-Architect_rgb.jpgCertified_TestStand_Architect_rgb.jpg


"I won't be wronged. I won't be insulted. I won't be laid a-hand on. I don't do these things to other people, and I require the same from them." John Bernard Books

0 Kudos
Message 7 of 11
(6,978 Views)

I've updated the original post to include a link to the source (I'd originally set all of the keys a long time ago and forgot about their effects).

I will try and produce a guide in the next few days.



Using LV2018 32 bit

Highly recommended open source screen capture software (useful for bug reports).

https://getsharex.com/
0 Kudos
Message 8 of 11
(6,978 Views)

For the record, I found also (LV2017)

 

Slave to Housing (slider)
Disconnect decoration (Silver multicolumn listbox)

 

rather than peeking yet another and another one, Is there btw a semipublic description of how to put all this tags to good use? There are many which at first I can't guess what they are for, like all the Prop Grows.

0 Kudos
Message 9 of 11
(6,141 Views)

@Enrico_Segre wrote:

like all the Prop Grows.


Proportional Grow, so if something covers only part of the control, it will grow in proportion.

0 Kudos
Message 10 of 11
(6,133 Views)