From 29855459a3327022416ff1922f6fcc08835214fe Mon Sep 17 00:00:00 2001 From: bd_ Date: Sat, 27 Jan 2024 19:25:28 +0900 Subject: [PATCH] chore(ui): set a minimum size for the error report window (#127) --- CHANGELOG.md | 5 +++++ Editor/ErrorReporting/UI/ErrorReportWindow.cs | 2 ++ 2 files changed, 7 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3f484f2..a88855e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -19,6 +19,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Deprecated +## [1.3.0-rc.5] - [2024-01-21] + +### Changed +- Set a minimum size for the error report window (#127) + ## [1.3.0-rc.4] - [2024-01-21] ### Fixed diff --git a/Editor/ErrorReporting/UI/ErrorReportWindow.cs b/Editor/ErrorReporting/UI/ErrorReportWindow.cs index 0f15678..9f33a48 100644 --- a/Editor/ErrorReporting/UI/ErrorReportWindow.cs +++ b/Editor/ErrorReporting/UI/ErrorReportWindow.cs @@ -98,6 +98,8 @@ public GameObject CurrentAvatar [ExcludeFromDocs] public void CreateGUI() { + minSize = new Vector2(300, 400); + // Each editor window contains a root VisualElement object VisualElement root = rootVisualElement; root.AddToClassList("WindowRoot");