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

@@ -23,12 +23,12 @@ struct UIEditorShellToolbarLayout {
};
struct UIEditorShellToolbarMetrics {
float barHeight = 24.0f;
float barHeight = 30.0f;
float groupPaddingX = 6.0f;
float groupPaddingY = 2.0f;
float buttonWidth = 18.0f;
float buttonHeight = 16.0f;
float buttonGap = 4.0f;
float buttonWidth = 20.0f;
float buttonHeight = 20.0f;
float buttonGap = 6.0f;
float groupCornerRounding = 0.0f;
float buttonCornerRounding = 0.0f;
float borderThickness = 1.0f;