![]() ![]() To make the text the correct color, a manually created theme was utilized which was found under PROPS->style->classes and fontSize was set to 12. The hex color #60C9FF was used throughout. Under style, borderStyle was set to hidden, borderColor set to the color choice, and outlineColor set to the color choice. To get the checkbox the color I was after, the checkedIcon and uncheckedIcon (under PROPS) was set to the color choice ( #60C9FF). Having it pointed out to me that the approach I was taking was over 10 years old suggested, to me, Perspective must be able to handle simple checkbox editing and to give it another shot. It ended up being more straight forward the second time around. I am not sure why I didn't have luck the first time around with the checkbox component. I would be happy to add more details about the sizing of the image, text, scripting, etc. GIMP was the application used to create the two images. I used to find a free alternative to Photoshop. One image had the text with an unchecked box and the other image had the text with the checked box. I ended up creating two PNG files with the text (label) and checked/unchecked checkbox combined. My prior experience comes from developing software with a MVC (model-view-controller) approach. I am newbie with Ignition so I completely overlooked what the OP was usig as a design tool. Transistor pointed out that I was having the problem because I am using Perspective. The problem I had with the approach mentioned many years ago was grouping the label and image component together. I'd be happy to share the two methods here. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |