layout_uiscrollcontainer.ui.txt 1.3 KB

1234567891011121314151617181920212223242526
  1. # UIScrollContainer widget layout file
  2. TBLayout: axis: y, size: available, position: gravity, distribution: gravity
  3. TBScrollContainer
  4. gravity all
  5. TBLayout: axis: y
  6. TBLayout: size: available, position: gravity, distribution: available
  7. TBEditField: multiline: 1, styling: 1, readonly: 1, adapt-to-content: 0, skin: "sheet_cell"
  8. text: "UIScrollContainer widget\nThis widget can display other widgets\nIf they exceed the UIScrollContainer boundries, it add scrollbars to view these areas."
  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