It is currently March 29th, 2024, 12:10 pm
Diagonal buttons and how to not make them stack
-
- Posts: 64
- Joined: March 24th, 2019, 5:52 pm
Diagonal buttons and how to not make them stack
Hi everyone, i'll try to make it short: my aim is to make a series of rectangular buttons from top to bottom in a diagonal way, (in my country we say "Fish Spine" to indicate this arrangement, don't know if it's the same for you) and, of course, this way makes the Top-Left and Bottom-Right of the button clear, void of any pixel. Still, those areas are clickable, and as such the buttons overstack one on top of the other, making clicking a mess. I tried to change the meter into an image, a straight image rotated with the command, but it's the same. Is there any option to tell rainmeter to no make alpha clickable? Or if there is any other solution at all. Thank you.
-
- Rainmeter Sage
- Posts: 2588
- Joined: March 23rd, 2015, 5:26 pm
Re: Diagonal buttons and how to not make them stack
It would help if you posted your code. In general, an alpha value of 0 is not clickable in Rainmeter, but if you are using TransformationMatrix to rotate your buttons then there will be issues. The clickable area is calculated before the TransformationMatrix is applied, so this would be a major problem with buttons in the "fish spine" (or "fish bone") arrangement you are referring to.Nilvarno wrote: ↑April 2nd, 2021, 2:11 pm Hi everyone, i'll try to make it short: my aim is to make a series of rectangular buttons from top to bottom in a diagonal way, (in my country we say "Fish Spine" to indicate this arrangement, don't know if it's the same for you) and, of course, this way makes the Top-Left and Bottom-Right of the button clear, void of any pixel. Still, those areas are clickable, and as such the buttons overstack one on top of the other, making clicking a mess. I tried to change the meter into an image, a straight image rotated with the command, but it's the same. Is there any option to tell rainmeter to no make alpha clickable? Or if there is any other solution at all. Thank you.