Skip to content

How can I disable/remove the shadow of hover text #4083

Answered by YgorSouza
wangxiaochuTHU asked this question in Q&A
Discussion options

You must be logged in to vote

The hover text shadow is controlled by Visuals::popup_shadow. It also controls the shadow on context menus and combo box drawers. But the window shadow is a separate field.

ctx.style_mut(|style| style.visuals.popup_shadow = Shadow::NONE);

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by wangxiaochuTHU
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants