LWGShane Well-Known Member Licensed User Longtime User Jul 28, 2016 #1 I'm wanting to use this really awesome Bootstrap theme with my programs. But I am wondering on how to switch between "sub-classes". For example, changing the Button from "default" to ".primary". Thanks! Last edited: Jul 28, 2016
I'm wanting to use this really awesome Bootstrap theme with my programs. But I am wondering on how to switch between "sub-classes". For example, changing the Button from "default" to ".primary". Thanks!
Erel B4X founder Staff member Licensed User Longtime User Jul 29, 2016 #2 You can add classes with the StyleClasses property: B4X: Button1.StyleClasses.Add("primary") It returns a List so you can also clear it. Upvote 0
You can add classes with the StyleClasses property: B4X: Button1.StyleClasses.Add("primary") It returns a List so you can also clear it.