From ecdaac79177c8bc1824bd178da9c6bf254aa21bf Mon Sep 17 00:00:00 2001 From: Robin North Date: Tue, 23 May 2023 15:46:55 +0100 Subject: [PATCH] Fix help button text wrapping in certain situations --- CHANGELOG.md | 6 +++++- Editor/Build/UI/UnityBuildGUIUtility.cs | 1 + 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c92d8f7..6feaee9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,7 +5,11 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). - +## [Unreleased] + +### Fixed + +- Fix help button text wrapping in certain situations. ## [6.0.0] - 2023-05-16 diff --git a/Editor/Build/UI/UnityBuildGUIUtility.cs b/Editor/Build/UI/UnityBuildGUIUtility.cs index fbe30d7..b016f1c 100644 --- a/Editor/Build/UI/UnityBuildGUIUtility.cs +++ b/Editor/Build/UI/UnityBuildGUIUtility.cs @@ -57,6 +57,7 @@ private UnityBuildGUIUtility() _helpButtonStyle.fontStyle = FontStyle.Normal; _helpButtonStyle.margin = new RectOffset(0, 5, 0, 0); _helpButtonStyle.fixedWidth = 30; + _helpButtonStyle.wordWrap = false; _midHeaderStyle = new GUIStyle(EditorStyles.helpBox); _midHeaderStyle.fontStyle = FontStyle.Bold;