Pierre Hébert
Posted by: pierrot | on March 9, 2015
Pierre Hébert
In settings for items (customize item…/more…) is in tap text and icon is this option:
Display the label (yes/no), Display the icon (yes/no).
Can you edit this option for this?
Display the label (or) icon with this option (Show only in portrait, Show only in Landscape, show in portrait and landscape, not show).
this option (visible or hidden) enable for widget, panels, folder. dynamic text, page indicator.
]]>Posted in | 11 Comments »
Tags:
« Hi everyone :) (Previous Post)
(Next Post) Scripting confuses the fuck outta me :( can anyone gimme a hand in learning how to use it and write me a script to… »
< ![CDATA[
What about setting these properties using a script started from the portrait/landscape events? You could also change some other settings like the icon size.
]]>
< ![CDATA[
But in tab +, in settings for item, isn’t event switch to portrait And switch to landscape.
]]>
< ![CDATA[
Pierre Hébert Can you please add?
]]>
< ![CDATA[
Not yet unfortunately. I see how powerful it could be but at the moment this is too much work. To implement this properly this need to be done for more properties, and also it has some important impact on scripts. I still believe that as of today a script is a better solution. I’ll try to provide you a sample script tomorrow.
]]>
< ![CDATA[
I mean add to + tab for items events for switch portrait And landscape layout.
User create only two script And set in + tab for selected shortcut, widget, etc.
]]>
< ![CDATA[
Second option is write script, where user must specific all items…
]]>
< ![CDATA[
Please try this: http://www.pierrox.net/android/applications/lightning_launcher/wiki/doku.php?id=script_properties_orientation_handler
]]>
< ![CDATA[
i test only item a…
after set for events, i have bug: at line 51: typeError: Cannot call method “getItemByname” of null (nepojmenovany skript#51).
]]>
< ![CDATA[
I know what you mean by this script.
But user must know ID or name for items.
If user have in +tap for all items, events for landscape and portrait, they not must specific item. Only set how many items need, script.
]]>
< ![CDATA[
This is a tradeoff, the UI cannot provide too much flexibility otherwise it becomes overwhelming, and this is something I would really like to avoid. With this script, a single place has to be edited, items can possibly be named through their label, no need to set a name.
]]>
< ![CDATA[
propably script working only for portrait layout.
For example if i change color in item b, this doing only for portrait.
]]>