-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Added unhovered style, For TextEdit used bg_stroke in unhovered. #4120
Conversation
explain why, preferably with an image |
It is good to have a border visible even when the input area is not in focus or unhovered. ( Related to slider is part of #4092. ) Below is a screen with two TextEdits applied. Below is a screen without applied. |
@@ -1051,6 +1054,9 @@ pub struct Widgets { | |||
/// The style of an interactive widget, such as a button, at rest. | |||
pub inactive: WidgetVisuals, | |||
|
|||
/// The style of a unhovered widget. | |||
pub unhovered: WidgetVisuals, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That is what inactive
means.
I think there is a misunderstanding here. |
Added unhovered style,
For TextEdit used bg_stroke in unhovered.