Skip to main content
JBend.3
Associate II
Mar 4, 2025 17:06 UTC
Solved

Larger toolbar icons for STM32CubeIDE (V 1.18.0)

I have been trying to find a way to increase the icon size for the STM32CubeIDE toolbar. Today I found a way that worked for me.

 

 

This topic has been closed for replies.
JBend.3
JBend.3Best answer
Associate II
Mar 4, 2025 17:08 UTC

Find the stm32cubeide.ini file which should be located in the STM32CubeIDE root directory. On my Windows PC this was C:\ST\STM32CubeIDE_1.10.1\STM32CubeIDE following a default install.

 

Open stm32cubeide.ini in your preferred plain text editor and append the following lines:

-Dswt.enable.autoScale=true
-Dswt.autoScale=150
-Dswt.autoScale.method=nearest

If necessary close your STM32CubeIDE and relaunch.

As I understand it the 150 value commands an icon scale of 150%. Other values might work for you. I strongly recommend to make a backup copy of stm32cubeide.ini before editing it.

 

1 reply

JBend.3
JBend.3AuthorBest answer
Associate II
Mar 4, 2025 17:08 UTC

Find the stm32cubeide.ini file which should be located in the STM32CubeIDE root directory. On my Windows PC this was C:\ST\STM32CubeIDE_1.10.1\STM32CubeIDE following a default install.

 

Open stm32cubeide.ini in your preferred plain text editor and append the following lines:

-Dswt.enable.autoScale=true
-Dswt.autoScale=150
-Dswt.autoScale.method=nearest

If necessary close your STM32CubeIDE and relaunch.

As I understand it the 150 value commands an icon scale of 150%. Other values might work for you. I strongly recommend to make a backup copy of stm32cubeide.ini before editing it.