-
Notifications
You must be signed in to change notification settings - Fork 15
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
Round corners #27
Comments
Yes, AFAIK it's a common issue with most gtk widgets. You could try this :
But this solution has a drawback : chart's lines will still overflow the corners if they cross... But maybe it's gona be good enough for your case ? If it's not, I'll fix that in LiveChart itself... |
Do you consider that's good enough and nothing should be done on livechart side ? |
I mean, this is more like a wish 😅 it would be nice to have the line cropped. If the line will be thicker bad cropping will be more noticeable. If you will consider this out of scope because it should be supported by Gtk or Cairo, I'll understand. |
I'll take a look about adding rounded corners, but not sure it's gonna work... |
This may be related. I see round corners on a screenshot 👀. |
Hi! @stsdc ! Just for information, I'll have some free time to work on this issue in the next weeks. Stay tuned :) |
Yay! Just FYI, There are rumors that overflow issues might be fixed in GTK4. I don't know if that's the case for a cairo based widget, tho. |
So, GTK4 didn't fix the issue. |
I don't know if this is a limitation of Gtk3 or Cairo, but I'm unable to create proper round corners with border.
As You can see on screenshot it is not properly cropped. 😕
Alain managed to create round corners, but it was only possible when paddings were added.
The text was updated successfully, but these errors were encountered: