From 84a69d7429635984999852b69046706effd2e9ad Mon Sep 17 00:00:00 2001 From: Hugo Locurcio Date: Thu, 30 Dec 2021 19:22:06 +0300 Subject: Improve the default project theme The new default project theme uses StyleBoxFlat extensively for a more modern design and better scalability to multiple resolutions. SVG icons are now used in place of PNG icons. While this does not allow for true vector-based icon drawing (icons are still rasterized at load-time), this makes the design work easier for contributors and opens the door to vector drawing in the future (e.g. with polygons or SDFs). Like for editor icons, the SVG header file is now built automatically when a SVG file is changed. This removing the need for running `make_header.py` manually (TODO). The "Use Hidpi" project setting has been removed in favor of a "Default Theme Scale" project setting, which allows creating the default theme at a higher/lower scale than the default. This can be used when designing GUIs with a high base resolution to ensure crisp visuals. Co-authored-by: Yuri Sizov --- scene/resources/default_theme/icon_close.png | Bin 155 -> 0 bytes 1 file changed, 0 insertions(+), 0 deletions(-) delete mode 100644 scene/resources/default_theme/icon_close.png (limited to 'scene/resources/default_theme/icon_close.png') diff --git a/scene/resources/default_theme/icon_close.png b/scene/resources/default_theme/icon_close.png deleted file mode 100644 index 4d4ac4a551..0000000000 Binary files a/scene/resources/default_theme/icon_close.png and /dev/null differ -- cgit v1.2.3