UI Interest Group Blog

Community Browser
cancel
Showing results for 
Search instead for 
Did you mean: 

Re: iPhone Toggle Switch

YoungZaphod
Member

iPhone_Switch.pngHere is a nice little custom control to make LabVIEW more like your iPhone.

Comments
Friedhold
Member

Hi, it's a nice switch. Adds a little alternation to my desktop.

mhiernaux
Member

Could you tell us how you did it ? Looks like it's some images pasted...

I'd like to to something similar but bigger and with different text than ON and OFF...

Thanks,

Martin

BR,

Martin
CLD
mhiernaux
Member

I assume you used some iPhone UI library available only and you copy pasted (decal) it on a button ?

Thanks,

Martin

BR,

Martin
CLD
YoungZaphod
Member

It is made from a primitive boolean control (flat square button, I think).

- Select Customize the control

- Change to Customize Mode

- Right click and select Picture Item you want to change

- Then use Import from File to go get your icon

I recommend using PNG graphics, which support transparency. This On/Off toggle actually has transparent pixels in corners so it has a rounded look no matter what is in the background.

Here are the original graphics I used for this control:

iPhone_On.PNG

iPhone_Off.PNG

GRamy
Member

Really Nice