Advertisement
Guest User

Edje box

a guest
Apr 27th, 2015
211
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 1.37 KB | None | 0 0
  1. collections {
  2.     group { name: "item";
  3.         parts {
  4.             part { name: "item1"; type: RECT;
  5.                 description { state: "default" 0.0;
  6.                     color: 200 0 0 100;
  7.                     min: 100 100;
  8.                     max: 100 100;
  9.                 }
  10.             }
  11.         }
  12.     }
  13.    
  14.     group { name: "main";
  15.         min: 500 300;
  16.         parts {
  17.             part { name: "bg"; type: RECT;
  18.                 description { state: "default" 0.0;
  19.                     color: 255 255 255 255;
  20.                 }
  21.             }
  22.            
  23.             part { name: "box"; type: BOX;
  24.                 description { state: "default" 0.0;
  25.                     box {
  26.                         layout: "horizontal";
  27.                         align: 0.0 1.0; // the vertical align here do not work
  28.                         padding: 6 6;
  29.                     }
  30.                 }
  31.                 box {
  32.                     items {
  33.                         item {
  34.                             type: GROUP;
  35.                             source: "item";
  36.                             align: 0.0 1.0; // this one work
  37.                         }
  38.                         item {
  39.                             type: GROUP;
  40.                             source: "item";
  41.                         }
  42.                     }
  43.                 }
  44.             }
  45.         }
  46.     }
  47. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement