edit_track.stkgui 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <stkgui>
  3. <div x="2%" y="1%" width="96%" height="98%" layout="vertical-row" padding="10">
  4. <header id="selected_track" width="80%" height="30"
  5. I18N="No neeed to translate this, it will be overwritten by the track name"
  6. text="" align="center" text_align="center" />
  7. <spacer height="20" />
  8. <!-- Track selection -->
  9. <box width="100%" height="60%" layout="vertical-row">
  10. <ribbon_grid id="tracks" proportion="1" width="100%" height="100%" square_items="true"
  11. label_location="each" align="center" child_width="240" child_height="160" />
  12. </box>
  13. <!-- Populated dynamically at runtime -->
  14. <tabs width="100%" height="30" id="trackgroups"> </tabs>
  15. <spacer height="50" />
  16. <!-- Laps and reverse -->
  17. <div width="100%" height="100" layout="horizontal-row" align="center">
  18. <spacer proportion="1" />
  19. <label id="laps_label" text_align="left"
  20. I18N="In the edit track screen" text="Number of laps:" />
  21. <spacer width="20" />
  22. <spinner id="laps" proportion="1" width="100" min_value="1"
  23. max_value="99" wrap_around="false" />
  24. <spacer proportion="1" />
  25. <label id="reverse_label" text_align="left"
  26. I18N="In the edit track screen" text="Reverse:" />
  27. <spacer width="20" />
  28. <checkbox id="reverse" />
  29. <spacer proportion="1" />
  30. </div>
  31. <!-- Dialog buttons -->
  32. <div width="100%" height="60" layout="horizontal-row">
  33. <spacer proportion="2" />
  34. <button id="ok" text="OK" proportion="1" />
  35. <spacer proportion="1" />
  36. <button id="cancel" text="Cancel" proportion="1" />
  37. <spacer proportion="2" />
  38. </div>
  39. </div>
  40. </stkgui>