Welcome, Guest
Please Login or Register.    Lost Password?

Skin Rounded Corners
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: Skin Rounded Corners
#18659
Skin Rounded Corners 1 Year, 9 Months 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.
Rainbow
Fresh Boarder
Posts: 2
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#18664
Re: Skin Rounded Corners 1 Year, 9 Months 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: 6000
graph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#18665
Re: Skin Rounded Corners 1 Year, 9 Months 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.
Rainbow
Fresh Boarder
Posts: 2
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#18678
Re: Skin Rounded Corners 1 Year, 9 Months 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: 6000
graph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
Go to topPage: 1
get the latest posts directly to your desktop