MaxTextLength.cs
 1  // Copyright (c) Microsoft Corporation
 2  // The Microsoft Corporation licenses this file to you under the MIT license.
 3  // See the LICENSE file in the project root for more information.
 4  
 5  namespace Microsoft.CmdPal.Ext.Registry.Constants;
 6  
 7  /// <summary>
 8  /// This class contain all maximum text length.
 9  /// </summary>
10  public static class MaxTextLength
11  {
12      /// <summary>
13      /// The maximum length for the title text length with two context menu symbols on the right.
14      /// </summary>
15      internal const int MaximumTitleLengthWithTwoSymbols = 44;
16  
17      /// <summary>
18      /// The maximum length for the title text length with three context menu symbols on the right.
19      /// </summary>
20      internal const int MaximumTitleLengthWithThreeSymbols = 40;
21  
22      /// <summary>
23      /// The maximum length for the sub-title text length with two context menu symbols on the right.
24      /// </summary>
25      internal const int MaximumSubTitleLengthWithTwoSymbols = 85;
26  
27      /// <summary>
28      /// The maximum length for the sub-title text length with three context menu symbols on the right.
29      /// </summary>
30      internal const int MaximumSubTitleLengthWithThreeSymbols = 78;
31  }