Comments (3)
The outline is drawn on top of the hovered rect.
I'm not sure if adding .adjusted(0, 1, 0, 0)
to the button's background fill would look much better.
https://github.com/Zren/material-decoration/blob/master/src/Button.cc#L221
from material-decoration.
I tried it with .adjusted(0, 2, 0, 0)
and it does look better I think:
from material-decoration.
Also reducing one pixel from the bottom makes the menu hovering look slightly better.
from material-decoration.
Related Issues (20)
- Opera-style mouseover effects in GTK theme? HOT 11
- [Feature Request] Show window title before the menu HOT 2
- menu items too close to each other need some space to breath HOT 4
- [request] option to have the same color in both active and inactive HOT 1
- .
- Eclipse, DBeaver and Sublime applications do not appear in the menu in the title bar. HOT 1
- The distance between menu options is short. HOT 2
- Doesn't compile on kUbuntu 20.04 (since commit #3f724dcf436233d24abe9f2dfc450ba5d0ac00dd) HOT 5
- does not work in wayland HOT 3
- registerPlugin error when compiling HOT 1
- Qt6 Removes X11Info from Qt5::X11Extras HOT 8
- How to install in Fedora? HOT 1
- Дополнить readme HOT 1
- Appmenu doesn't appear for windows spawned from tray icons. HOT 8
- Blur breaks with plasma 5.25 HOT 7
- Libreoffice does't show menu HOT 2
- Build failed on Tumbleweed HOT 3
- Support KWin's tablet mode to increase decoration button size using touch
- Determine if I should use OutCubic for Button opacity animation HOT 1
- does not work on lxqt with kwin HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from material-decoration.