Skip to content

Commit 31f4c8f

Browse files
paulhazenWispyMouse
authored andcommitted
fix: Change character used to measure label width from '0' to 'M'.
1 parent b9b3364 commit 31f4c8f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Assets/Plugins/Source/Editor/Utility/GUIEditorUtility.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -542,7 +542,7 @@ public static float MeasureLongestLabelWidth(List<string> labels)
542542

543543
public static float MeasureLabelWidth(int characters)
544544
{
545-
return MeasureLabelWidth(new string('0', characters));
545+
return MeasureLabelWidth(new string('M', characters));
546546
}
547547

548548
public static float MeasureLabelWidth(string label)

0 commit comments

Comments
 (0)