Howto no get expended widgets at startup?

Dear All,

I'm using Silica Calendar 2 and Aero Weather 1.

Both of these widgets are great but when launching my system, they always start expended.
I then have to shrink them in order to save space (and I don't need to get always all the information, just when I need it).

As the widgets seems to not remember their status between reboots, is there a way to configure them in order to keep them always as minimal?

Please tell me what to use and where to get necessary tools/files as I'm a newbie in it...

Thanks in advance for your help
2,671 views 5 replies
Reply #1 Top
Go to your DX Welcome screen, click on load widgets , click on view widget cache. Delete the widgets your having trouble with from cache.

Swith to DX builder mode - click on new desktop , ' save current theme - NO '
reset desktop settings - YES'

Then try to set the widgets the way you want them ( then close them ) reopen or reboot and check.- I really don't think this will work because the Silica widgets have a mind of their own usually. But there are tons of widgets to choose from in widget gallery that will open as you left them.

good luck.
Reply #2 Top
DesktopX handles a lot of stuff for widget creators, but decisions on what will be displayed upon load are pretty much up to the widget author. DX will remember where you last had an object pretty well, but does not necessarily retain other settings, such as size or visibility. Some of these can be set in script, on panels, or simply by their state upon export from the Builder.

So, long story short, these widgets show up like that by design. Luckily, DX is all about changing the design to suit your needs. If you are up to it, and really attached to the Silica Calendar, I have a fix for that one, but I don't know which Aero Weather you meant, so you'll have to look at that one yourself!

The Silica Calendar widget is a bit of a rough one for new folks to explore. Calendars by nature require many objects to display the dates, and this Silica Calendar also mixes scripting languages, using both javascript and vbscript. We only need to add one line of vbscript to get it to load in the contracted state, though.

Get the widget into DX Builder, by importing usually. Then open the Object Navigator to see a list of the objects which make up the widget. Double click on the object named "dateMonthText" then click on "Edit..." to open the script editor.

You should see a group of text that begins, "Sub Object_OnScriptEnter" and concludes "End Sub". Place this line directly above the line that reads "End Sub":

DesktopX.ScriptObject("cal_back").CollapseSlots()

This line calls a function in another script, the function that collapses the calendar. We have just told the widget to collapse itself when it loads. Exit the script editor by File->Save and Close editor, then click "OK" on the properties panel.

Now, in the Object Navigator list again, right click on an object and select Export. Choose "Export as widget" and "Selected and related" then follow the wizard. Be sure to give your new custom widget a new name and new executable name to help keep it straight in DX cache. Now you've got your own custom calendar widget that loads collapsed by default!

This is all easier than I make it sound, good luck and have fun!
Reply #3 Top
This is all easier than I make it sound, good luck and have fun!


Even I can follow those instructions. Your good...
Reply #4 Top
Hi Rabidrobot,

Thanks a lot !!! it works well, I even managed to make the Aero Weather the way I wanted it using your advices

Thanks again !
Reply #5 Top
Right on, queviko, glad to hear it went well!