javascript - How do i achieve a jellybean 4.2 type menu in QML? -


hi watched review of nexus 7 , trying acheive similar kind of app menu in qml(where apps listed).can direct me in right direction?

current code:

grid{   id:gridpanel;   rows:__itemsperpage;   flow:flow.toptobottom;    onxchanged:{     if(x > 0)       x = 0;   }    behavior on x {      id:listanimation enabled: false;      animation: sequentialanimation {       running: parent.enabled;        numberanimation {          target: gridpanel;          property: "x";         duration: 300        }        numberanimation {          target: gridpanel;          property: "scale";          to: 0.3;          duration: 500;       }        pauseanimation {          duration: 200        }        numberanimation {          target: gridpanel;          property: "scale";          to: 1;          duration: 500;       }      }   } } 


Comments

Popular posts from this blog

c - How to retrieve a variable from the Apache configuration inside the module? -

c# - Constructor arguments cannot be passed for interface mocks -

python - malformed header from script index.py Bad header -