Update new_editor inspector layout and host rendering

This commit is contained in:
2026-04-21 13:24:03 +08:00
parent d388c3994b
commit 5d81a64ef3
62 changed files with 4417 additions and 151 deletions

View File

@@ -27,10 +27,6 @@ struct UIEditorInspectorFieldStyleTokens {
::XCEngine::UI::UIColor(0.15f, 0.15f, 0.15f, 1.0f);
::XCEngine::UI::UIColor controlFocusedBorderColor =
::XCEngine::UI::UIColor(0.19f, 0.19f, 0.19f, 1.0f);
::XCEngine::UI::UIColor prefixColor =
::XCEngine::UI::UIColor(0.13f, 0.13f, 0.13f, 1.0f);
::XCEngine::UI::UIColor prefixBorderColor =
::XCEngine::UI::UIColor(0.15f, 0.15f, 0.15f, 1.0f);
::XCEngine::UI::UIColor axisXColor =
::XCEngine::UI::UIColor(0.78f, 0.42f, 0.42f, 1.0f);
::XCEngine::UI::UIColor axisYColor =
@@ -98,6 +94,7 @@ struct UIEditorFieldRowLayoutMetrics {
float horizontalPadding = 12.0f;
float labelControlGap = 20.0f;
float controlColumnStart = 236.0f;
float sharedControlColumnMinWidth = 0.0f;
float controlTrailingInset = 8.0f;
float controlInsetY = 1.0f;
};