"Element" Officially Released on Cydia - Disappointment!

Dude, you're my hero. :|

I'm not being sarcastic. Anyone who can manipulate code is impressive to me.

Now, have you figured out how to close the excessive spacing / line break gaps that make this thing so unappealing? OR, how to fix the spacing in the weather section to fit longer city names?

It seems the main developer ("limneos") couldn't really give half a **** about this project. He's too busy promoting his other ****ty app, "SbRotator".

Haven't played around with this but in the Element.cydget folder there is a resource folder with CSS file (homescreen.css). Just change;
#time_weather .weather {
position: relative;
float: left;
width: 135px;
height: 80px;
margin-left: 0px;
color: #fff;
background: -webkit-gradient(linear, 156 0, 0 0, from(rgba(0,0,0,0.5)), to(rgba(0,0,0,0)), color-stop(0.05, rgba(0,0,0,0)));
-webkit-border-top-right-radius: 10px;
-webkit-border-bottom-right-radius: 10px;
}

Change the width to something larger. You might have to change the #time_weather.time width as well (minus one add to the other).

I'll have play tonight and give you some code.
How does this look??

Let me know if this is what you are after and I'll PM you what to change.

For example to remove the "gap" between headers you need to change the following code in script.cy (remember to recompile after making changes - using mobile terminal or SSH run "cycript -c script.cy>script.js" within the /var/System/Library/LockCydgets/Element.cydget folder

function ELToggleDiv(id) {
if (ExpandContract == 1) {
var element = document.getElementById(id);
var info = document.getElementById(id + "_info");
var arrow = document.getElementById(id + "_arrow");

if (parseInt(element.offsetHeight) > 35) {
element.style.height = "35px";
info.style.visibility = "hidden";
element.setAttribute("isExpanded", "contracted");
arrow.src = "resources/images/arrow_icon.png";
} else {
element.style.height = "auto";
info.style.visibility = "visible";
element.setAttribute("isExpanded", "expanded");
arrow.src = "resources/images/arrow_icon_expanded.png";
}

saveState();
}
}
It does look pretty good, but I'm just curious about how it would look when all the categories are extended? That's where you'll see all of the crazy spacing.
Hey nzewok,

Any chance you could post the changes you made to the code. I have gone in and made some changes to stuff like the stocks to fix it so it will display red if it went down, green for going up as well as added a column to display the percentage of change just like the iphone app. I also had to get rid of the date/time for next day on the calendar because it was displaying the date for the next day as the header and then the specific event would just say "tomorrow" instead of display the actual time and "tomorrow" was offset to the next line cause it won't fit on the original line. I cannot for the life of me figure out how to get it to display the time of the event for the next day; current day works fine. Anyway, any help/showing of code would be great, thanks.

If anyone wants the code for the stocks as I previously mentioned, just let me know and I will post it.
Is there any fix to get my Calendar events to show up? Is this only a problem with a 3GS?
NO updates yet??

i guess the devs are happy with this version. lame
teehanlax is much better than this....
Element changes - Stock percentage.

Hi Danboylong.
Can you submit the changes to stuff like the stocks to fix it so it will display red if it went down, green for going up as well as added a column to display the percentage of change just like the iphone app?
Thank you.

Hey nzewok,

Any chance you could post the changes you made to the code. I have gone in and made some changes to stuff like the stocks to fix it so it will display red if it went down, green for going up as well as added a column to display the percentage of change just like the iphone app. I also had to get rid of the date/time for next day on the calendar because it was displaying the date for the next day as the header and then the specific event would just say "tomorrow" instead of display the actual time and "tomorrow" was offset to the next line cause it won't fit on the original line. I cannot for the life of me figure out how to get it to display the time of the event for the next day; current day works fine. Anyway, any help/showing of code would be great, thanks.

If anyone wants the code for the stocks as I previously mentioned, just let me know and I will post it.
how does everyone configure the weather display. I've gone into settings-weather icon and set that to application=weatherbug. Am I missing something cause it showed it was sunny out last night and I was in the middle of a monsoon and today it's sunny and 85 degrees and the display shows partly sunny and 69 degrees.
Has anyone else had this issue?

Thanks,
Rob

Original thread: https://forums.imore.com/threads/element-officially-released-on-cydia-disappointment.188322/