-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Negative Font Size #689
Comments
Thanks for reporting! We probably shouldn't allow that, should we 😄 It probably makes sense to have some lower limit like 8px or something, and also an upper limit. |
This issue can be closed right? |
@bhawesh96 No , I just started working on it but if you want you can work on it |
@Janglee123 Alright, I'll do it. |
How should the behaviour be? Should the buttons be disabled upon reaching the extreme limits? |
Can you make it disappeared at limits ? You can ask it to @catarak |
IMO, making it disappear won't be a nice UX. |
@bhawesh96 i agree, i don't think making the buttons disappear is a nice UX! i think what should happen is that once a user has the minimum/maximum size selected, then clicking the -/+ buttons won't do anything. you could disable the buttons (only the - button for minimum value, only the + button for maximum value) too. i also noticed that you can set the indentation amount to negative values too. maybe it would be good to also give this a smart minimum and maximum value? like 0-6? i think it makes sense to fix this as part of this ticket. |
Disabling the buttons do not make the button look disabled as |
we could add a disabled style! |
Disable the font-size setting button when extremum is reached. References processing#689
* Set min & max limits on font-size Disable the font-size setting button when extremum is reached. References #689 * handle case for user input to input field, also add min and max for indentation amount
@catarak This issue can be closed. |
@bhawesh96 thanks! |
Nature of issue?
Details about the bug:
Recently I found that editor font size can be negative
The text was updated successfully, but these errors were encountered: