File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -440,7 +440,7 @@ class NAMFileBrowserControl : public WithFileDrop<IDirBrowseControlBase>
440440 WDL_String fileName, path;
441441 GetSelectedFile (fileName);
442442
443- const size_t maxChars = (strcmp (mExtension .Get (), " nam" ) == 0 ) ? 38 : 45 ;
443+ const size_t maxChars = (strcmp (mExtension .Get (), " nam" ) == 0 ) ? 35 : 45 ;
444444 mFileNameControl ->SetLabelAndTooltipEllipsizing (fileName, maxChars);
445445
446446 mCompletionHandlerFunc (fileName, path);
@@ -470,7 +470,7 @@ class NAMFileBrowserControl : public WithFileDrop<IDirBrowseControlBase>
470470 SetupMenu ();
471471 SetSelectedFile (fileName.Get ());
472472
473- const size_t maxChars = (strcmp (mExtension .Get (), " nam" ) == 0 ) ? 38 : 45 ;
473+ const size_t maxChars = (strcmp (mExtension .Get (), " nam" ) == 0 ) ? 35 : 45 ;
474474 mFileNameControl ->SetLabelAndTooltipEllipsizing (fileName, maxChars);
475475 break ;
476476 }
You can’t perform that action at this time.
0 commit comments