layout_uilayoutparams.ui.txt 1.4 KB

12345678910111213141516171819202122232425262728293031323334
  1. # UILayoutParams Object layout file
  2. TBLayout: axis: y
  3. TBEditField: multiline: 1, styling: 1, readonly: 1, adapt-to-content: 1, skin: "sheet_cell"
  4. text: "UILayoutParams object\nThis object is used to effect sizing of items in a Layout,\nwhen the general layout rules are not sufficent."
  5. TBTextField: text: ""
  6. TBLayout: distribution: gravity
  7. TBButton: text: "64x64", squeezable: true
  8. lp: pref-width: 64, pref-height: 64
  9. TBWidget: gravity: all
  10. TBLayout: distribution: gravity
  11. TBImageWidget: filename: "Textures/jmruler.png"
  12. lp: width: 512, height: 32
  13. TBWidget: gravity: all
  14. TBLayout: distribution: gravity
  15. TBButton: text: "320x64"
  16. lp: pref-width: 320, pref-height: 64
  17. TBWidget: gravity: all
  18. TBLayout: distribution: gravity
  19. TBImageWidget: filename: "Textures/jmruler.png"
  20. lp: width: 512, height: 32
  21. TBWidget: gravity: all
  22. TBLayout: distribution: gravity
  23. TBButton: text: "480x64"
  24. lp: pref-width: 480, pref-height: 64
  25. TBWidget: gravity: all
  26. TBLayout: distribution: gravity
  27. TBImageWidget: filename: "Textures/jmruler.png"
  28. lp: width: 512, height: 32
  29. TBWidget: gravity: all
  30. TBLayout
  31. TBButton: text: "UILayoutParams help Document", url: "http://docs.atomicgameengine.com/api/classes/atomic.uilayoutparams.html"
  32. TBButton: text: "UILayoutParams application code", id: uilayoutparamscode
  33. TBButton: text: "UILayoutParams layout code", id: uilayoutparamslayout