Skip to content
Snippets Groups Projects
Commit b2341d94 authored by rhenck's avatar rhenck
Browse files

Button: Fix background color (to lightgrey)

parent d2aaec8e
No related branches found
No related tags found
No related merge requests found
...@@ -48,7 +48,10 @@ export class ButtonElement extends UIElement implements ButtonProperties { ...@@ -48,7 +48,10 @@ export class ButtonElement extends UIElement implements ButtonProperties {
if (element?.tooltipPosition !== undefined) this.tooltipPosition = element.tooltipPosition; if (element?.tooltipPosition !== undefined) this.tooltipPosition = element.tooltipPosition;
if (element?.labelAlignment !== undefined) this.labelAlignment = element.labelAlignment; if (element?.labelAlignment !== undefined) this.labelAlignment = element.labelAlignment;
this.styling = { this.styling = {
...PropertyGroupGenerators.generateBasicStyleProps(element?.styling), ...PropertyGroupGenerators.generateBasicStyleProps({
backgroundColor: 'lightgrey',
...element?.styling
}),
...PropertyGroupGenerators.generateBorderStylingProps(element?.styling) ...PropertyGroupGenerators.generateBorderStylingProps(element?.styling)
}; };
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment