• Welcome to TodayPlus Boards v2.
 

region/defregion/offsetadd

Started by Doemaarwat, October 25, 2003, 02:21:27 PM

Previous topic - Next topic

Doemaarwat

I am having a bit of troubles with the regions and offsetadd commands. I was modifying de default skin (0.9.5) and thought I understoud it. But I have this weird behaviour.

When I startup my screen looks like this:


If I press my weather icon it looks like this:


After I press the refresh button it looks good again:


When I collaps the agendaregion my batterybar is gone for a couple of seconds but appears again.

Same behave for the timezones:

Refresh:


I attached my skinfile. Can someone give me a hint?

PS: Dont look at the rss and shorcuts, cause I was still working on it. But hey why not give me a hint for that too ;)
If you have nothing to do, don't do it here...

rbg08

It looks like your defregion is too "tall" for the region that displays weather.  I'm at work so I can't download your file to check it, but looks similar to a problem I had once.
Dell Axim X5 Advanced - WM2003

srs

well it looks like you reduced the height for the weather pages to 34 pixels, but left the the owerinfo and other pages to > 34 pixels.  you either want to make all the pages the same height or do a full refresh somewhere (which will change the total height of the plugin)

edit: also you don't need to do this region,0,0,600 because the new info will not be automatically downloaded.  New data from the internet will only be download when either the refresh button / or activesynce is done.

Doemaarwat

Thx for the help. I just woke up, will be trying to fix it this evening. I'll let you know.

Edit: I had my defregions larger then my offsetadds. I fixed it and it works. :)

But still have a 'minor' problem.

I do not want the back button when going back from the subpage of the weather forecasts. So I replaced:

imagebutton,226,2,back.png,t,0,3,,9
with
button,0,0,240,35,0,3,
It goes back to the previous page, but doesn't let me see any values or images. Just the % and the time. Any suggestions?
If you have nothing to do, don't do it here...

srs

you forgot to tell it to update region 9.  with you button when it is pressed only region 0 will be updated, and since region 9 is not, no data is loaded.

it should look like thisbutton,0,0,240,35,0,3,,9

Doemaarwat

Quote from: srsyou forgot to tell it to update region 9.  with you button when it is pressed only region 0 will be updated, and since region 9 is not, no data is loaded.

it should look like thisbutton,0,0,240,35,0,3,,9
Darn, I tried it, but missed a comma ;)

I had it like this:

button,0,0,240,35,0,3,9


Thx.
If you have nothing to do, don't do it here...

srs

yes you have to be careful about commas.  in you case you were putting the 9 in the "data" field of the button