LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Rounded Controls and Indicators

Check out Boolean Vector Controls by hooovahh. It is pretty cool. I also have a package with a couple fully round buttons in it: Flatinum Controls Suite.

 

As far as JKI Design Palette goes, I tried it for a bit, but I don't remember having to activate anything. It did work, but it started interfering with QuickDrop at times, so I uninstalled it.

Redhawk

Saying "Thanks that fixed it" or "Thanks that answers my question" and not giving a Kudo or Marked Solution, is like telling your waiter they did a great job and not leaving a tip. Please, tip your waiters.

Message 11 of 29
(1,298 Views)

Thanks for the shout out. That tool has code to work with vector image files.  I think there is a VI somewhere buried deep, that you can give it a vector image, and a control template, and it will generate a boolean control for you.  I included a few common control types like vertical and horizontal system, along with JKI and flatline.  I didn't want to go too crazy and include every vector image file I could fine, but I did add a bunch from Google, and another open source icon library.  Oh and the vector based icons mean they resize well on larger displays, or higher resolution monitors.  Aliasing still can look weird if you go too small but there isn't much that can be done about that without having the down side of a static PNG image that looks fine at one specific size.

0 Kudos
Message 12 of 29
(1,286 Views)

Hi RedHawk. I tried installing Flatinum but don't see it in the palettes or the menus. Am I not looking in the right place?

 

Thanks, 

 

David

 

0 Kudos
Message 13 of 29
(1,253 Views)

Here's a very nice text ring, as well, which would make things feel more modern. 

 

 

FlatCat_1-1791513944876.png

 

0 Kudos
Message 14 of 29
(1,238 Views)

@FlatCat wrote:

I am being urged at my workplace to update the interfaces of our applications.

  


That's a sentence I have never heard in all my years. Someone cares about the UI? I thought I was the only one. And that you actually get time to improve it must be rare, unless customers use it. Congratulations! 

 

I recently took some time to look at design in modern UIs. One thing I like is the icon on buttons displaying a different icon to emphasize the hover effect.

Teams Board button.gif

Or like in a Teams menu (hate the app but good button example):
Teams menu.gif

 

I could not replicate that with any of the button creators or tricks I found for LabVIEW (or it was very hard or cumbersome, don't remember).  So I made my own app/vi/project that take png-files and uses ImageMagick and some LabVIEW to apply icon, shape, color etc from a selectable and configurable button template and style template, to set shape, color, icons etc. Then you don't have to fiddle with all the impossible tricks to make the button work and look like you want. You can create a base png in one color with any shape, border, shading etc that you like, or use any png you find online. The tool will use ImageMagick to replace the base color with your selected colors and apply it to a template ctl-file. You also have a set of icons to select from.  Teams-like example:

Button Magick.gif

I know it does not help you now, but I meant to put this up on Github but stopped working on it at 80 % finished, when it did its job well enough for the project I needed it for. If a few people are interested I might look into cleaning it up enough to put it on Github. Current GUI and resulting ctl:

thols_0-1791533225615.png

 

I like to recommend to use Google's icon library. Better than any other I found, and completely free to use: https://fonts.google.com/icons

 

For choosing a color scheme, there are a few, e.g https://color.adobe.com/create/color-wheel? where you can e.g. extract a palette from an image, and https://www.sessions.edu/color-calculator/ to create contrasting colors. 

 

You may also want to think about color-blindness and printer friendliness for plots etc. This is one source: https://colorbrewer2.org

 

Certified LabVIEW Architect
Message 15 of 29
(1,214 Views)

@FlatCat wrote:

Hi RedHawk. I tried installing Flatinum but don't see it in the palettes or the menus. Am I not looking in the right place?

 

Thanks, 

 

David

 


I have it going into the Addons palette:

 

Spoiler
FireFistRedhawk_0-1791546961026.png

 

Redhawk

Saying "Thanks that fixed it" or "Thanks that answers my question" and not giving a Kudo or Marked Solution, is like telling your waiter they did a great job and not leaving a tip. Please, tip your waiters.

Message 16 of 29
(1,208 Views)

Ah. with the options I have set, the Addons folder is not visible. I have to change that. 

0 Kudos
Message 17 of 29
(1,182 Views)

Even the fonts need work, I would say. The top is from a Python-based application on Mac. The bottom is from my LAbVIEW windows application using the Application font. 

 

 

FlatCat_0-1791552968948.png

FlatCat_1-1791553044199.png

 

0 Kudos
Message 18 of 29
(1,171 Views)

@thols wrote:

I could not replicate that with any of the button creators or tricks I found for LabVIEW (or it was very hard or cumbersome, don't remember). 

 


Regular LabVIEW booleans only have four picture options- unpressed, pressed and held from unpressed state, latched down, and pressed and held from the latched down state. They don't support hover effects.

 

System booleans have 6 states; they have the four above and add in "hover over unpressed button" and "hover over pressed button". This will let you change the image to a new one when hovered over.

0 Kudos
Message 19 of 29
(1,099 Views)

@BertMcMahan wrote:

@thols wrote:

I could not replicate that with any of the button creators or tricks I found for LabVIEW (or it was very hard or cumbersome, don't remember). 

 


Regular LabVIEW booleans only have four picture options- unpressed, pressed and held from unpressed state, latched down, and pressed and held from the latched down state. They don't support hover effects.

 

System booleans have 6 states; they have the four above and add in "hover over unpressed button" and "hover over pressed button". This will let you change the image to a new one when hovered over.


Yes, I know. But it is a lot of work to create all 6 states looking like you want, with the icons changing too. There is a 4-state button that has a built in picture for false/true, but that does not trigger when hovering over, like the examples I showed (I now remember that that was the nearest solution I found, but not good enough)

Certified LabVIEW Architect
0 Kudos
Message 20 of 29
(1,014 Views)