Welcome, Guest
Please Login or Register.    Lost Password?

Transparent Yearcalendar background (Shadow4)
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: Transparent Yearcalendar background (Shadow4)
#20904
Transparent Yearcalendar background (Shadow4) 5 Months, 4 Weeks ago  
Hi I'm trying to add background to the Year calendar.xml

I looked at the Weekview.xml

But the background doesn't fill out to the right, it's missing a letter or two on the right side.

I added this in the Year calendar.xml (copied from weekview and changed id value)
<image id="Year Calendar.background" element="bitmap.background" origin1="TOP-LEFT" x1="0" y1="7" origin2="BOTTOM-RIGHT" x2="0" y2="0" scaling="TILE" margins="25,25,20,20" />

If I remove the margin settings it looks really weird.
I also tried to alter the margin values, but I can't seem to find the right values.

Can someone elaborate how the measurements are calculated or just guide me in the right direction?

(The reason for taking the weekview as a sample is because it's simple and there's no need for text etc. in Year calendar)
Oldorf
Junior Boarder
Posts: 22
graphgraph
User Offline Click here to see the profile of this user
Last Edit: 2014/03/26 14:59 By Oldorf.
The administrator has disabled public write access.
NNTP - Usenet - Newsgroups rocks, Forum's [CENSORED]
 
#20921
Re: Transparent Yearcalendar background (Shadow4) 5 Months, 3 Weeks ago  
Try increasing the window size:

<window id="Year Calendar" w="675" h="470" threshold="48" default="0">
Rainy
Moderator
Posts: 5960
graph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#20923
Re: Transparent Yearcalendar background (Shadow4) 5 Months, 3 Weeks ago  
Workes like a charm
Thanks Rainy

Complete skin settings:
In year calendar.xml

Change this line:
Code:

<window id="Year Calendar" w="665" h="450" threshold="48" default="0">

Into:
Code:

<window id="Year Calendar" w="675" h="450" threshold="48" default="0">


Add this line as the first after <window id="Year Calendar"... >:
Code:

<image id="Year Calendar.background" element="bitmap.background" origin1="TOP-LEFT" x1="0" y1="7" origin2="BOTTOM-RIGHT" x2="0" y2="0" scaling="TILE" margins="25,25,20,20" />

Oldorf
Junior Boarder
Posts: 22
graphgraph
User Offline Click here to see the profile of this user
Last Edit: 2014/03/30 04:39 By Oldorf.
The administrator has disabled public write access.
NNTP - Usenet - Newsgroups rocks, Forum's [CENSORED]
 
Go to topPage: 1
get the latest posts directly to your desktop