|
Skin Rounded Corners 3 Months, 4 Weeks ago
|
|
|
Hi,
I am not sure if I should put my question here or in the skins thread, but since it's a question, I open it here.
My questions are about skin for calendar:
I am looking for a way to make the corners of a background color or gradient, rounded. Currently, the square can only have sharp edges.
I am on Windows, but I saw it done on conky with cairo and lua on linux.
I couldn't find anything in the help file, nor examples in skins. Everyone use images for this purpose.
Another question is about how to display text instead of images.
For example, "Next" and "Previous" instead of the button images for next and previous month on the calendar.
|
|
|
|
|
|
|
Re: Skin Rounded Corners 3 Months, 4 Weeks ago
|
|
|
The gradient is always rectangular so you need to use images if you want the edges to be rounded.
For the text you can use the <Text> element to draw the actual text and then a transparent button over if for the button actions.
|
|
Rainy
Moderator
Posts: 5353
|
|
|
|
|
Re: Skin Rounded Corners 3 Months, 4 Weeks ago
|
|
|
I just found the <text> tag in the help file, which I missed before.
Thanks for pointing it to me.
Are there plans to add this feature, of round corners (not via images), in any future?
That can be a really nice addition.
|
|
|
|
|
|
|
Re: Skin Rounded Corners 3 Months, 4 Weeks ago
|
|
|
I can add it to my backlog but it might not be trivial to implement so it'll probably take a while...
|
|
Rainy
Moderator
Posts: 5353
|
|
|
|
|