How to redraw all toolbars in IDEA?

IDEA 2016.3 on Ubuntu 16.04

I faced a problem with all toolbars: when I change the font size in Appearance & Behavior > Appearance > Override default fonts by it scales toolbar images but doesn't scale size of toolbar itself.

Normal toolbar:

Toolbar after font size change :

or

Also sometimes it doesn't scale some of disabled icons

So the question is how can I programmatically force IDEA to redraw all toolbars from my plugin?

(I tried

ActionToolbarImpl.updateAllToolbarsImmediately();

but it does not help)

Please sign in to leave a comment.