84a69d7429
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 <yuris@humnom.net>
22 lines
889 B
XML
22 lines
889 B
XML
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<class name="VSplitContainer" inherits="SplitContainer" version="4.0">
|
|
<brief_description>
|
|
Vertical split container.
|
|
</brief_description>
|
|
<description>
|
|
Vertical split container. See [SplitContainer]. This goes from top to bottom.
|
|
</description>
|
|
<tutorials>
|
|
</tutorials>
|
|
<theme_items>
|
|
<theme_item name="autohide" data_type="constant" type="int" default="1">
|
|
Boolean value. If 1 ([code]true[/code]), the grabber will hide automatically when it isn't under the cursor. If 0 ([code]false[/code]), it's always visible.
|
|
</theme_item>
|
|
<theme_item name="separation" data_type="constant" type="int" default="12">
|
|
The space between sides of the container.
|
|
</theme_item>
|
|
<theme_item name="grabber" data_type="icon" type="Texture2D">
|
|
The icon used for the grabber drawn in the middle area.
|
|
</theme_item>
|
|
</theme_items>
|
|
</class>
|