Ark2000 / PankuConsole

Feature-packed real-time debugging toolkit for Godot Engine.
https://k2kra.xyz/PankuConsole/
MIT License
997 stars 38 forks source link

The console wasn't using its own UI theme #169

Closed CoderJo-Pro closed 4 months ago

CoderJo-Pro commented 5 months ago

Describe the bug As the title says. I seek through panku console's folder, and I saw there's a theme and a font resource, but never used. Because I'm using my own theme resource, and this theme's font is a pixel font. (my project's font is set by theme instead of the project settings) It font referencing is weird. some is my pixel font, and some is its own modern font.

To Reproduce Steps to reproduce the behavior:

  1. Create a theme resource
  2. Set it to ProjectSettings:gui/theme/custom
  3. Override Label style (change some for examplefont color and font size) of the theme
  4. Run whatever scene you have
  5. Open the panku console and you'll see the console is somewhat strange

Expected behavior it just uses its own theme resource, and user's (me) original project changes won't effect its appearance.

Screenshots Snipaste_2024-04-05_15-51-58 this project had been upload on itch.io

Ark2000 commented 5 months ago

Well, currently fonts resources are scattered around different scenes.

For now, if you want to change the output fonts:

  1. go to panku_console_ui.tscn
  2. find the node RichTextLabel
  3. change its fonts theme overrides, done.

image

image

Thanks for your feedback, I will work on UI issues later to make it more unified and customizable.

CoderJo-Pro commented 4 months ago

well I think you can just make your root window control node to use the console's theme. this will make the children inherits the theme from window root, no origin project changes will effect panku console.

this is my simple thought for improvement :P

Ark2000 commented 4 months ago

Closed. Related issue: #166