-
Notifications
You must be signed in to change notification settings - Fork 207
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Do not apply style attributes to empty space #907
Comments
Applying these attributes to static interface elements doesn't make much sense in the first place. |
Well, text in editbox is not static. P.S. |
Not really. Ideally, these “blank” areas are controlled separately. Or at least each time a user specifies visual attributes like underlining, there's a choice whether to apply the attributes to the respective blank areas. |
The thing is, even separating "text" and "blank" is not so trivial. I don't feel like adding a bunch of new colors or logic on top of that only to control blank areas separately. It might be useful occasionally, but hardly worth the effort. |
And likely will affect performance I assume |
Technically yes. |
I'd say yes, that is exactly what I mean/want. But when filename contains real spaces - that is different, I suppose that spaces must be under/overlined/strikedout etc. But I'm not sure about Inverse. |
Exactly. Dropping styles from all spaces would be trivial. |
Description of the new feature or improvement
Currently Underline, Overline and Strikeout attributes are applied to the whole field (e.g. full editbox width in a dialog, or full column width on the filepanel).
That has little sens and looks ugly.
There should be a possibility to apply style only to the real text.
Proposed technical implementation details (optional)
No response
The text was updated successfully, but these errors were encountered: