Solved

Universal: Possible to enforce the density setting?

  • 13 September 2022
  • 3 replies
  • 58 views

Userlevel 1
Badge +1

The universal UI has two options for density: compact and comfortable. Is there a way to force this per user/user group to set it to comfortable? The option is set to compact by default and even if you change it for a user, manually, it resets if you clear cache.

icon

Best answer by Robbert van Tongeren 13 September 2022, 13:56

View original

This topic has been closed for comments

3 replies

Userlevel 5

Hi Guido,

 

Yes, this is possible by setting the spacingmode in the universal config.json:

spacingMode Sets the default spacing mode (compact or comfortable).

For reference: https://docs.thinkwisesoftware.com/docs/deployment/universal#configuration-settings-for-the-universal-gui

https://docs.thinkwisesoftware.com/docs/sf/themes#compact-mode-in-the-universal-gui

Userlevel 5
Badge +5

Note that the default "Compact” is set for desktop/large resolution screens. The GUI will fall back to "Comfortable” by default on mobile devices.

Userlevel 1
Badge +1

Thank you, it's working like a charm. For future reference pressing clear cache when logging in is not enough to ‘pick up’ the new settings, you need to clear the browsers cache/cookies as well.