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++ - llvm function pass ReplaceInstWithInst malloc -

java.lang.NoClassDefFoundError When Creating New Android Project -

Decoding a Python 2 `tempfile` with python-future -