How to remove button size increase when pressed

As standart, added button widgets do increase their size when beeing pressed.

I cannot find setting in squareline.

What do you want to achieve?

buttons shall not increase in size when pressed

What have you tried so far?

set button state to PRESSED, but no activated settings can be found in transform, padding or outline

Others

  • SquareLine Studio version: V1.5.0
  • Operating system: Win11
  • Target hardware: Custom

Figured out, that this comes from LV_THEME_DEFAULT_GROW define in lvgl config file.

1 Like

Hi, The button increases in size when pressed because you selected the light LVGL theme when creating the project, which includes this style transition. If you don’t want to use an LVGL-specific theme, you should select the Simplified theme when creating your project.