Forum Discussion

vrice's avatar
vrice
Cloud Apps
11-14-2023
Solved

BloX Title Style Missing from PDF Report

When I create a PDF Report of my dashboard, I have noticed that the title styling for all of my BloX widgets disappears.  Here's the relevant snippet from my BloX Editor: "titleStyle": [ ...
  • rapidbisupport's avatar
    11-14-2023

    Hi vrice,

    As a workaround, if you have 'Widget Design Styling' enabled in Admin > Feature Management, you can use the following widget script on your BloX widget to change the title style:

     

    widget.style.widgetDesign = {
        "widgetBackgroundColor": "#FFFFFF",
        "widgetTitleBackgroundColor": "#e90000",
        "widgetTitleColor": "#0057f9",
        "widgetTitleAlignment": "center",
        "widgetBorderEnabled": false,
        "widgetBorderColor": "#9EA2AB",
        "widgetCornerRadius": "none",
        "widgetShadow": "none",
        "widgetSpacing": "none",
        "widgetTitleDividerEnabled": true,
        "widgetTitleDividerColor": "#5B6372"
    }

     

    You can change the values of the properties above to fine tune the styling to your requirement.

    Let me know if this works for you?

    Thanks,

    Daniel

    RAPID BI 

    [email protected]

    RAPID BI - Sisense Professional Services | Implementations | Custom Add-ons