layout_uiscrollcontainer.ui.txt 1.1 KB

1234567891011121314151617181920212223242526
  1. # UIScrollContainer widget layout file
  2. TBLayout: axis: y, size: available, position: gravity, distribution: gravity
  3. TBTextField: text: "this is the Example of a UIScrollContainer widget"
  4. TBScrollContainer
  5. gravity all
  6. TBLayout: axis: y
  7. TBLayout: size: available, position: gravity, distribution: available
  8. TBButton: text: 1
  9. lp: pref-width: 500, pref-height: 480
  10. TBButton: text: 2
  11. lp: pref-width: 600, pref-height: 480
  12. TBButton: text: Hi
  13. lp: pref-width: 256, pref-height: 480
  14. TBLayout: size: available, position: gravity, distribution: available
  15. TBButton: text: Hi Again
  16. lp: pref-width: 400, pref-height: 512
  17. TBButton: text: 3
  18. lp: pref-width: 200, pref-height: 512
  19. TBButton: text: 4
  20. lp: pref-width: 1000, pref-height: 512
  21. TBTextField: id: spacer, text: " "
  22. TBLayout
  23. TBButton: text: "UIScrollContainer help Document", url: "http://docs.atomicgameengine.com/api/classes/atomic.uiscrollcontainer.html"
  24. TBButton: text: "UIScrollContainer application code", id: uiscrollcontainercode
  25. TBButton: text: "UIScrollContainer layout code", id: uiscrollcontainerlayout