-
-
Notifications
You must be signed in to change notification settings - Fork 19.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't override editor font margins in a plugin #17626
Comments
Still the case in Godot 3.1 alpha2. When opened with Addon: |
I tried to test the project in 3.2.2 rc1. It threw lots of errors on startup which I ignored, but then the dialog appeared fine. @Zylann Can you confirm it's fixed or provide a better MRP? |
@KoBeWi the dialog appears fine now because I replaced text with icons. The original problem is still there, but the point is more to not rely on the editor's font because it can change anyways. |
Then MRP with |
I believe it's not a bug actually. Now it certainly makes it harder to design editor UIs when the theme in which you make them uses a different font, but I don't know if something can be done about that. The archive I had linked in my previous post is the plugin folder only. I just tried it in 3.2.2 rc1, but it doesn't throw errors for me (probably because I replaced the plugin in my test project so resources were imported already, see maybe #17483). And this is how it looks with the version from the asset library, now with icons: |
The editor somehow deals with that problem, so it may be some missing functionality for plugins (if I understand correctly), which would be a matter for a proposal. So this issue can be closed then? |
Yes I think it can be closed. |
Godot 3.0.2
I designed some GUIs for my plugin, but it looks like some options I've set in box and grid containers
custom constants
seem to be overrided by the editor's theme. This causes my UI to break in multiple ways.In edited scene and in game testing, my UI looks like this:
In the editor, it looks like this:
The text was updated successfully, but these errors were encountered: