You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is a bug in the Predawn quick panel width, margin, or padding fields (or something related to those).
System
Sublime Text 3 build 3114 (current latest release)
The predawn-DEV.sublime-theme theme
The screen captures below are with the setting predawn_quick_panel_small set to true but exactly the same thing occurs when that setting is set to false.
Description
When the text length of the longest row in the quick panel gets longer than 42 characters, the end of the displayed text gets truncated.
Sublime Text automatically resizes the width of the quick panel so that text gets fully displayed, up to a maximum text length of just over 100 characters. One of the Predawn theme fields is preventing this from happening properly. I suspect it is being caused by one of the margin or padding fields.
The following screen captures show how Predawn truncates the last few characters of the text in the longest row of the quick panel and then shows how the same thing does not happen with the Sublime Text default theme.
Plugin For Testing
I've created a ST plugin QuickPanelBugDemo.py and uploaded it to GitHub to help with fixing this bug. All it does is open the quick panel with some long text entries, selecting one does nothing.
Click the raw link on the right and save the file to your Sublime Text config Packages/User/ folder, or use this direct link.
Hi,
There is a bug in the Predawn quick panel width, margin, or padding fields (or something related to those).
System
predawn-DEV.sublime-theme
themeThe screen captures below are with the setting
predawn_quick_panel_small
set to true but exactly the same thing occurs when that setting is set to false.Description
When the text length of the longest row in the quick panel gets longer than 42 characters, the end of the displayed text gets truncated.
Sublime Text automatically resizes the width of the quick panel so that text gets fully displayed, up to a maximum text length of just over 100 characters. One of the Predawn theme fields is preventing this from happening properly. I suspect it is being caused by one of the
margin
orpadding
fields.The following screen captures show how Predawn truncates the last few characters of the text in the longest row of the quick panel and then shows how the same thing does not happen with the Sublime Text default theme.
Plugin For Testing
I've created a ST plugin QuickPanelBugDemo.py and uploaded it to GitHub to help with fixing this bug. All it does is open the quick panel with some long text entries, selecting one does nothing.
Click the
raw
link on the right and save the file to your Sublime Text configPackages/User/
folder, or use this direct link.The ST Command is
quick_panel_bug_demo
.Run from the console with the command:
Or assign it to a key binding using:
Hope this helps. Thanks.
The text was updated successfully, but these errors were encountered: