Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
The new update on the theming that came with the July Update is great and I tested it right away. I want all my slicers to look the same and I prefer using titles instead of slicer headers. So I put the following in the VisualStyles:
visualStyles":{ "slicer":{ "*":{ "title": [{ "show": true, "fontColor": { "solid": { "color": "#FFFFFF" } }, "background": { "solid": { "color": "#DD1A1A" } }, "alignment": "center", "fontSize": 9, "fontFamily": "DIN", "text":"Enter Title!" }], "background": [{ "show": false }], "lockAspect": [{ "show": false }], "border": [{ "show": true, "color": { "solid": { "color": "#DD1A1A" } } }], "header": [{ "show": false }] } } }
At first, it seems to work, but the defined FontFamily is not captured right away. When creating a new slicer, the font is set to DIN in the formatting pane, but the visual is showing something else:
Only after reapplying the font family (selecting DIN in the dropdown again) the title shows up correctly:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.