/indra/newview/skins/default/xui/en/floater_test_textbox.xml

https://bitbucket.org/lindenlab/viewer-beta/ · XML · 254 lines · 250 code · 3 blank · 1 comment · 0 complexity · 5c7e4a25c6f242755c2f0e3f77de0ca4 MD5 · raw file

  1. <?xml version="1.0" encoding="utf-8" standalone="yes" ?>
  2. <floater
  3. legacy_header_height="18"
  4. can_resize="true"
  5. height="600"
  6. layout="topleft"
  7. name="floater_test_textbox"
  8. help_topic="floater_test_textbox"
  9. translate="false"
  10. width="800">
  11. <text
  12. type="string"
  13. length="1"
  14. height="90"
  15. layout="topleft"
  16. left="10"
  17. top_pad="30"
  18. width="300">
  19. First line of multiple lines
  20. Second line of multiple lines
  21. Third line of multiple lines
  22. Fourth line of multiple lines
  23. Fifth line of multiple lines
  24. </text>
  25. <text
  26. clip_partial="true"
  27. top_pad="10"
  28. left="10"
  29. width="267"
  30. height="28"
  31. layout="topleft"
  32. follows="right|left"
  33. text_color="white"
  34. use_ellipses="true"
  35. word_wrap="true"
  36. mouse_opaque="false"
  37. name="title" >
  38. This text has word_wrap set true, use_ellipses set true, and clip_partial set true, so it should wrap around, spilling over to the last line, then clip the last partial line and show ellipses to indicate there is more text
  39. </text>
  40. <text
  41. font="SansSerif"
  42. font.style="BOLD"
  43. height="10"
  44. layout="topleft"
  45. left_delta="0"
  46. top_pad="10"
  47. width="300">
  48. SansSerif BOLD
  49. </text>
  50. <text
  51. font="SansSerif"
  52. font.style="BOLD|UNDERLINE"
  53. height="10"
  54. layout="topleft"
  55. left_delta="0"
  56. top_pad="10"
  57. width="300">
  58. SansSerif BOLD UNDERLINE
  59. </text>
  60. <text
  61. bottom="390"
  62. left="10"
  63. name="right_aligned_text"
  64. width="300"
  65. halign="right"
  66. top_pad="10">
  67. Right aligned text
  68. </text>
  69. <text
  70. bottom="390"
  71. left="10"
  72. name="centered_text"
  73. width="300"
  74. halign="center"
  75. top_pad="10">
  76. Centered text
  77. </text>
  78. <text
  79. left="10"
  80. name="left_aligned_text"
  81. width="300"
  82. halign="left"
  83. top_pad="10">
  84. Left aligned text
  85. </text>
  86. <text
  87. left="10"
  88. name="v_pad_text"
  89. height="40"
  90. width="300"
  91. halign="left"
  92. top_pad="10"
  93. v_pad="10">
  94. v_pad = 10, height = 40
  95. </text>
  96. <text
  97. left="10"
  98. name="v_pad_text"
  99. height="40"
  100. width="300"
  101. halign="left"
  102. top_pad="10"
  103. h_pad="30">
  104. h_pad = 30, height = 40
  105. </text>
  106. <text
  107. top_pad="10"
  108. left="10"
  109. right="-10"
  110. height="20"
  111. follows="top|left"
  112. font.name="SansSerifSmall"
  113. name="test_text10"
  114. tool_tip="text">
  115. SansSerifSmall
  116. The ???? brown fox ???jumped over the lazy dog.
  117. </text>
  118. <text
  119. top_pad="10"
  120. left="10"
  121. right="-10"
  122. height="25"
  123. follows="top|left"
  124. font.name="SansSerifMedium"
  125. name="test_text11"
  126. tool_tip="text">
  127. SansSerif
  128. The ???? brown fox ???jumped over the lazy dog.
  129. </text>
  130. <text
  131. top_pad="10"
  132. left="10"
  133. right="-10"
  134. follows="top|left"
  135. height="26"
  136. font.name="SansSerifLarge"
  137. name="test_text12"
  138. tool_tip="text">
  139. SansSerifLarge
  140. The ???? brown fox ???jumped over the lazy dog.
  141. </text>
  142. <text
  143. top_pad="10"
  144. left="10"
  145. height="35"
  146. right="-10"
  147. follows="top|left"
  148. font.name="SansSerifHuge"
  149. name="test_text13"
  150. tool_tip="text">
  151. SansSerifHuge
  152. The ???? brown fox ???jumped over the lazy dog.
  153. </text>
  154. <!-- next column -->
  155. <text_editor
  156. height="50"
  157. follows="top|left|bottom"
  158. left="400"
  159. name="test_text_editor"
  160. tool_tip="text editor"
  161. top="25"
  162. width="200">
  163. Text Editor
  164. </text_editor>
  165. <text_editor
  166. height="50"
  167. follows="top|left|bottom"
  168. left_delta="0"
  169. name="long_text_editor"
  170. tool_tip="text editor"
  171. top_pad="10"
  172. width="200">
  173. Text Editor
  174. with multiple
  175. lines of text
  176. and hence a
  177. scroll bar
  178. </text_editor>
  179. <text_editor
  180. height="50"
  181. follows="top|left|bottom"
  182. left_delta="0"
  183. max_length="65536"
  184. name="blob_text_editor"
  185. tool_tip="text editor"
  186. top_pad="10"
  187. width="200"
  188. word_wrap="true">
  189. Second Life is brought to you by Philip, Tessa, Andrew, Cory, James, Ben, Char, Charlie, Colin, Dan, Daniel, Doug, Eric, Hamlet, Haney, Eve, Hunter, Ian, Jeff, Jennifer, Jim, John, Lee, Mark, Peter, Phoenix, Richard, Robin, Xenon, Steve, Tanya, Eddie, Avi, Frank, Bruce, Aaron, Alice, Bob, Debra, Eileen, Helen, Janet, Louie, Leviathania, Stefan, Ray, Kevin, Tom, Mikeb, MikeT, Burgess, Elena, Tracy, Bill, Todd, Ryan, Zach, Sarah, Nova, Tim, Stephanie, Michael, Evan, Nicolas, Catherine, Rachelle, Dave, Holly, Bub, Kelly, Magellan, Ramzi, Don, Sabin, Jill, Rheya, Jeska, Torley, Kona, Callum, Charity, Ventrella, Jack, Vektor, Iris, Chris, Nicole, Mick, Reuben, Blue, Babbage, Yedwab, Deana, Lauren, Brent, Pathfinder, Chadrick, Altruima, Jesse, Teeny, Monroe, Icculus, David, Tess, Lizzie, Patsy, Isaac, Lawrence, Cyn, Bo, Gia, Annette, Marius, Tbone, Jonathan, Karen, Ginsu, Satoko, Yuko, Makiko, Thomas, Harry, Seth, Alexei, Brian, Guy, Runitai, Ethan, Data, Cornelius, Kenny, Swiss, Zero, Natria, Wendy, Stephen, Teeple, Thumper, Lucy, Dee, Mia, Liana, Warren, Branka, Aura, beez, Milo, Hermia, Red, Thrax, Joe, Sally, Magenta, Mogura, Paul, Jose, Rejean, Henrik, Lexie, Amber, Logan, Xan, Nora, Morpheus, Donovan, Leyla, MichaelFrancis, Beast, Cube, Bucky, Joshua, Stryfe, Harmony, Teresa, Claudia, Walker, Glenn, Fritz, Fordak, June, Cleopetra, Jean, Ivy, Betsy, Roosevelt, Spike, Ken, Which, Tofu, Chiyo, Rob, Zee, dustin, George, Del, Matthew, Cat, Jacqui, Lightfoot, Adrian, Viola, Alfred, Noel, Irfan, Sunil, Yool, Rika, Jane, Xtreme, Frontier, a2, Neo, Siobhan, Yoz, Justin, Elle, Qarl, Benjamin, Isabel, Gulliver, Everett, Christopher, Izzy, Stephany, Garry, Sejong, Sean, Tobin, Iridium, Meta, Anthony, Jeremy, JP, Jake, Maurice, Madhavi, Leopard, Kyle, Joon, Kari, Bert, Belinda, Jon, Kristi, Bridie, Pramod, KJ, Socrates, Maria, Ivan, Aric, Yamasaki, Adreanne, Jay, MitchK, Ceren, Coco, Durl, Jenny, Periapse, Kartic, Storrs, Lotte, Sandy, Rohn, Colossus, Zen, BigPapi, Brad, Pastrami, Kurz, Mani, Neuro, Jaime, MJ, Rowan, Sgt, Elvis, Gecko, Samuel, Sardonyx, Leo, Bryan, Niko, Soft, Poppy, Rachel, Aki, Angelo, Banzai, Alexa, Sue, CeeLo, Bender, CG, Gillian, Pelle, Nick, Echo, Zara, Christine, Shamiran, Emma, Blake, Keiko, Plexus, Joppa, Sidewinder, Erica, Ashlei, Twilight, Kristen, Brett, Q, Enus, Simon, Bevis, Kraft, Kip, Chandler, Ron, LauraP, Ram, KyleJM, Scouse, Prospero, Melissa, Marty, Nat, Hamilton, Kend, Lordan, Jimmy, Kosmo, Seraph, Green, Ekim, Wiggo, JT, Rome, Doris, Miz, Benoc, Whump, Trinity, Patch, Kate, TJ, Bao, Joohwan, Christy, Sofia, Matias, Cogsworth, Johan, Oreh, Cheah, Angela, Brandy, Mango, Lan, Aleks, Gloria, Heidy, Mitchell, Space, Colton, Bambers, Einstein, Maggie, Malbers, Rose, Winnie, Stella, Milton, Rothman, Niall, Marin, Allison, Katie, Dawn, Katt, Dusty, Kalpana, Judy, Andrea, Ambroff, Infinity, Gail, Rico, Raymond, Yi, William, Christa, M, Teagan, Scout, Molly, Dante, Corr, Dynamike, Usi, Kaylee, Vidtuts, Lil, Danica, Sascha, Kelv, Jacob, Nya, Rodney, Brandon, Elsie, Blondin, Grant, Katrin, Nyx, Gabriel, Locklainn, Claire, Devin, Minerva, Monty, Austin, Bradford, Si, Keira, H, Caitlin, Dita, Makai, Jenn, Ann, Meredith, Clare, Joy, Praveen, Cody, Edmund, Ruthe, Sirena, Gayathri, Spider, FJ, Davidoff, Tian, Jennie, Louise, Oskar, Landon, Noelle, Jarv, Ingrid, Al, Sommer, Doc, Aria, Huin, Gray, Lili, Vir, DJ, Yang, T, Simone, Maestro, Scott, Charlene, Quixote, Amanda, Susan, Zed, Anne, Enkidu, Esbee, Joroan, Katelin, Roxie, Tay, Scarlet, Kevin, Johnny, Wolfgang, Andren, Bob, Howard, Merov, Rand, Ray, Michon, Newell, Galen, Dessie, Les and many others.
  190. </text_editor>
  191. <text_editor
  192. height="50"
  193. follows="top|left|bottom"
  194. font="Monospace"
  195. left_delta="0"
  196. name="monospace_text_editor"
  197. tool_tip="text editor"
  198. top_pad="10"
  199. width="200">
  200. Text Editor
  201. with multiple
  202. lines of text
  203. and hence a
  204. scroll bar gjyrrr
  205. </text_editor>
  206. <text_editor
  207. border_visible="true"
  208. height="50"
  209. follows="top|left|bottom"
  210. font="Monospace"
  211. left_delta="0"
  212. name="monospace_text_editor"
  213. tool_tip="text editor"
  214. top_pad="10"
  215. width="200">
  216. Text Editor
  217. with multiple
  218. lines of text
  219. and hence a
  220. scroll bar gjyrrr
  221. </text_editor>
  222. <text_editor
  223. height="50"
  224. follows="top|left|bottom"
  225. font="SansSerif"
  226. left_delta="0"
  227. name="sansserif_text_editor"
  228. tool_tip="text editor"
  229. top_pad="10"
  230. width="200">
  231. Text Editor
  232. with multiple
  233. lines of text
  234. and hence a
  235. scroll bar gjyrrr
  236. </text_editor>
  237. <text
  238. height="40"
  239. follows="top|left|bottom"
  240. layout="topleft"
  241. name="test_text_box"
  242. tool_tip="text box"
  243. top_pad="5"
  244. width="200">
  245. Text box
  246. with
  247. multiple lines
  248. and too many lines
  249. to actually fit
  250. </text>
  251. </floater>