Forum Discussion

terranova's avatar
terranova
New Member
9 years ago
Solved

Grid row height lower size limit

Hi Everyone, 

 

In our organisation we used to have embedded images in a grid visual along several columns with data inside (numeric, string values). For the image we used an image-url.

 

The configuration of the grid allows us a minimum image height of 24px even if the image source file has a size of 10px x 10px. 

 

Does anyone know if it's possible to set the image height minimum to a lower size (10px for example) which will decrease the height of a row?

 

image-url-sizeproblem 

 

Thanks

2 Replies

  • v-sihou-msft's avatar
    v-sihou-msft
    Microsoft Employee

    terranova

     

    Currently, it's not supported to adjust the grid size in Power BI Desktop. Please vote this idea.

     

    Regards,

  • By default in the Grid the lower Image Height is 25px.

     

    Using a custom theme you can reduce it to 16px, see code below:

     

    { 
        "name": "customTheme", 
    "visualStyles": {
    		"*": {
    			"*": {
    				"*" : [{
    					"imageHeight": 16
    				}]
    			}
    		}
    	}
    }