I would like to resize a widget to a preset size when swiping down.

I would like to resize a widget to a preset size when swiping down.

Is it possible somehow? scripting did it

If not I would suggest to add an action for that.

]]>

13 Commentsto I would like to resize a widget to a preset size when swiping down.

  1. Anonymous says:

    < ![CDATA[

    I belive in script the LL.getEvent() will not receive the item when it’s put as a swipe event, but if you don’t mind that, it’s possible to resize an item from script

    ]]>

  2. Anonymous says:

    < ![CDATA[

    LL.getEvent().getItem().setSize(720,486);



    This does resize my widget, but I have to go to edit mode until it actually resizes

    ]]>

  3. Anonymous says:

    < ![CDATA[

    Lukas Morawietz this is a bug!


    But I think Pierre Hébert already knows about it. I may be wrong.

    ]]>

  4. Anonymous says:

    < ![CDATA[

    I made a workaround with


    i.getProperties().edit().setBoolean(“i.enabled”,false).setBoolean(“i.enabled”,true).commit();

    ]]>

  5. Anonymous says:

    < ![CDATA[

    Nice workaround ! (albeit slow maybe…)


    Fortunately a fix will be available soon.

    ]]>

  6. Anonymous says:

    < ![CDATA[

    I don’t know why, but I can’t get items in the desktop load event. I wanted to connect my script with that 🙁

    ]]>

  7. Anonymous says:

    < ![CDATA[

    Regarding the load event, is it the visibility exception or is it another issue ?

    ]]>

  8. Anonymous says:

    < ![CDATA[

    NullpointerException

    ]]>

  9. Anonymous says:

    < ![CDATA[

    Maybe it is possible to set up an event for desktops, that occurs when the desktop gets displayed, not when it is loaded…


    That would fit for me even better than the load event.

    ]]>

  10. Anonymous says:

    < ![CDATA[

    Yes TrianguloYsuggested the same thing

    ]]>

  11. Anonymous says:

    < ![CDATA[

    OK, didn’t saw that.


    I am in here for not so long.

    ]]>

  12. Anonymous says:

    < ![CDATA[

    No problem, I am myself missing posts quite often !

    ]]>

  13. Anonymous says:

    < ![CDATA[

    Load event and setsize are now working as I expect.

    ]]>

Leave a Reply

Your email address will not be published. Required fields are marked *