Skip to main content
Answer

Universal: Possible to enforce the density setting?

  • September 13, 2022
  • 3 replies
  • 76 views

Guido Bijl
Sidekick
Forum|alt.badge.img+2

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.

Best answer by Robbert van Tongeren

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

This topic has been closed for replies.

3 replies

Robbert van Tongeren
Thinkwise blogger

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


Erik Brink
Moderator
Forum|alt.badge.img+5
  • Moderator
  • September 13, 2022

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


Guido Bijl
Sidekick
Forum|alt.badge.img+2
  • Author
  • Sidekick
  • September 19, 2022

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.