layout_uieditfield.ui.txt 1.2 KB

12345678910111213141516171819
  1. # UIEditField widget layout file
  2. TBLayout: axis: y
  3. TBEditField: multiline: 1, styling: 1, readonly: 1, adapt-to-content: 1, skin: "sheet_cell"
  4. text: "UIEditField widget\nThis widget is used to display text, and can change the text it contains.\nThe Statusbar will display the results.\n*Hint - If you want to display XML correctly, turn off Styling, like `styling: 0`\n*Another Hint - there is a built-in context menu with M3, or long press on mobile."
  5. TBContainer
  6. TBEditField: id: editfieldsingle, text: "Example of a single line EditField widget"
  7. lp: pref-width: 512dp
  8. TBTextField: text: "Example of a multline line EditField widget"
  9. TBEditField: id: editfieldmulti, multiline: 1, styling: 1, readonly: 0, adapt-to-content: 0
  10. lp: pref-width: 512dp, pref-height: 200dp
  11. TBTextField: id: spacer, text: " "
  12. TBLayout
  13. TBButton: id: "editfieldadd", text: "Add file to Multiline UIEditField"
  14. TBButton: id: "editfieldclr", text: "Clear Multiline UIEditField"
  15. TBLayout
  16. TBButton: text: "UIEditField help Document", url: "http://docs.atomicgameengine.com/api/classes/atomic.uieditfield.html"
  17. TBButton: text: "UIEditField application code", id: uieditfieldcode
  18. TBButton: text: "UIEditField layout code", id: uieditfieldlayout