view_layout.ui.txt 2.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. # LAYOUT-O-MATIC layout file
  2. TBLayout: axis: y
  3. lp: min-width: 320dp
  4. TBEditField: multiline: 1, styling: 1, readonly: 1, adapt-to-content: 1, skin: "sheet_cell"
  5. text: "The LAYOUT-O-MATIC\nThe window allows you to change the top UILayout attributes with the\nclick of a button, so you can see what these things really do."
  6. TBLayout: distribution: gravity, distribution-position: left
  7. TBTextField: text: "Axis", text-align: right
  8. lp: pref-width: 160dp
  9. TBClickLabel: text: X(D)
  10. TBRadioButton: group-id: set_axis, id: set_ax, data: 0, value: 1
  11. TBClickLabel: text: Y
  12. TBRadioButton: group-id: set_axis, id: set_ay, data: 1
  13. TBLayout: distribution: gravity, distribution-position: left
  14. TBTextField: text: "Size", text-align: right
  15. lp: pref-width: 160dp
  16. TBClickLabel: text: Available
  17. TBRadioButton: group-id: set_sz, id: set_sza, data: 0
  18. TBClickLabel: text: Gravity(D)
  19. TBRadioButton: group-id: set_sz, id: set_szg, data: 1, value: 1
  20. TBClickLabel: text: Preferred
  21. TBRadioButton: group-id: set_sz, id: set_szp, data: 2
  22. TBLayout: distribution: gravity, distribution-position: left
  23. TBTextField: text: "Position", text-align: right
  24. lp: pref-width: 160dp
  25. TBClickLabel: text: Center(D)
  26. TBRadioButton: group-id: set_pos, id: set_posc, data: 0, value: 1
  27. TBClickLabel: text: Gravity
  28. TBRadioButton: group-id: set_pos, id: set_posg, data: 1
  29. TBClickLabel: text: LeftTop
  30. TBRadioButton: group-id: set_pos, id: set_posl, data: 2
  31. TBClickLabel: text: RightBottom
  32. TBRadioButton: group-id: set_pos, id: set_posr, data: 3
  33. TBLayout: distribution: gravity, distribution-position: left
  34. TBTextField: text: "Distribution", text-align: right
  35. lp: pref-width: 160dp
  36. TBClickLabel: text: Available
  37. TBRadioButton: group-id: set_dist, id: set_dista, data: 0
  38. TBClickLabel: text: Gravity
  39. TBRadioButton: group-id: set_dist, id: set_distg, data: 1
  40. TBClickLabel: text: Preferred(D)
  41. TBRadioButton: group-id: set_dist, id: set_distp, data: 2, value: 1
  42. TBLayout: distribution: gravity, distribution-position: left
  43. TBTextField: text: "Distribution Position", text-align: right
  44. lp: pref-width: 160dp
  45. TBClickLabel: text: Center(D)
  46. TBRadioButton: group-id: set_dp, id: set_dpc, data: 0, value: 1
  47. TBClickLabel: text: LeftTop
  48. TBRadioButton: group-id: set_dp, id: set_dpl, data: 1
  49. TBClickLabel: text: RightBottom
  50. TBRadioButton: group-id: set_dp, id: set_dpr, data: 2
  51. TBSeparator
  52. lp: min-width: 320dp
  53. TBLayout
  54. TBButton: text: OK, id: "ok"