0
 Followers
6
 Likes

Choosing Button color in the properties area.

Frontend
Implemented
on 12 Dec 2017
OutSystems 10

Hi everyone,


It would be great if we could change a Button background color ,and inside text color, in the properties area just like we define the visibility.

It could save a lot of time, instead of creating various classes in the css for diferent colored buttons.


cheers

Created on 3 Aug 2017
Comments (7)

how to change the icon color in on click event?

Err, css-classes are better, because (when) you have to change it, it would only be in the css,

otherwise you end up with a ziliion extra "style" in the html.

and you need to change every page where a certain color is..



Hi j,

I agree with you, but, but this idea would be plausable and "applyable" for a single, or lonely, button, 

for exemple, a single button that we want to change the color just in this single button. 

Increasing the css lengh with a class just for changing the background color of a unique button, it is , in my view, not a elegant solution,


cheers



I see, but why, if it's just for 1 button, use the extended properties and set it with style?


My goal would be making the css smaller and less confusing,


cheers.

The idea has the same principle as the extended properties for containers, were we can just define the left and top margin on the extended properties or we can choose creating a css class,


cheers.

Hi André,

With the release of the Styles Editor you can now change the widgets styles using low-code, with simple properties :)

views
441
Followers
0