UI Density mode change detection

已回答

Do we have any way to detect UI Density(compact/default) mode change ? Similar to Look and feel change listener.
 

0

Register com.intellij.ide.ui.UISettingsListener and react to com.intellij.ide.ui.UISettings#getCompactMode

0

请先登录再写评论。