Refactor new_editor window architecture and routing

This commit is contained in:
2026-04-23 14:11:33 +08:00
parent 5c0a878aa0
commit af5690395d
121 changed files with 1647 additions and 1592 deletions

View File

@@ -126,6 +126,7 @@ struct UIEditorPropertyGridField {
std::string valueText = {};
bool readOnly = false;
float desiredHeight = 0.0f;
float controlMinWidth = 0.0f;
UIEditorPropertyGridFieldKind kind = UIEditorPropertyGridFieldKind::Text;
bool boolValue = false;
UIEditorPropertyGridNumberFieldValue numberValue = {};
@@ -199,7 +200,6 @@ struct UIEditorPropertyGridMetrics {
float horizontalPadding = 12.0f;
float sectionHeaderHorizontalPadding = 6.0f;
float controlColumnStart = 236.0f;
float sharedControlColumnMinWidth = 0.0f;
float labelControlGap = 20.0f;
float disclosureExtent = 12.0f;
float disclosureLabelGap = 8.0f;