Hello!
I've an extension, and I use Main.panel.actor.height to get the height of the panel and use on it. The problem is that, when the user has a custom theme, I can't get its height, just the one on the default theme.
E.g.: Default theme has height 20px; Custom theme has height 30px; Custom theme is enabled via user-theme; Main.panel.actor.height returns 20px, instead of 30px.
Is there a way to get the height defined by the user's theme?
Hello! I've an extension, and I use
Main.panel.actor.height
to get the height of the panel and use on it. The problem is that, when the user has a custom theme, I can't get its height, just the one on the default theme.E.g.: Default theme has height 20px; Custom theme has height 30px; Custom theme is enabled via user-theme;
Main.panel.actor.height
returns 20px, instead of 30px.Is there a way to get the height defined by the user's theme?