PageRenderTime 9ms CodeModel.GetById 2ms app.highlight 3ms RepoModel.GetById 2ms app.codeStats 0ms

/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
 20Second line of multiple lines
 21Third line of multiple lines
 22Fourth line of multiple lines
 23Fifth 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
 41  <text
 42   font="SansSerif"
 43   font.style="BOLD"
 44   height="10"
 45   layout="topleft"
 46   left_delta="0"
 47   top_pad="10"
 48   width="300">
 49    SansSerif BOLD
 50  </text>
 51  <text
 52   font="SansSerif"
 53   font.style="BOLD|UNDERLINE"
 54   height="10"
 55   layout="topleft"
 56   left_delta="0"
 57   top_pad="10"
 58   width="300">
 59    SansSerif BOLD UNDERLINE
 60  </text>
 61  <text
 62 bottom="390"
 63 left="10"
 64 name="right_aligned_text"
 65 width="300"
 66 halign="right"
 67 top_pad="10">
 68    Right aligned text
 69  </text>
 70  <text
 71 bottom="390"
 72 left="10"
 73 name="centered_text"
 74 width="300"
 75 halign="center"
 76 top_pad="10">
 77    Centered text
 78  </text>
 79  <text
 80 left="10"
 81 name="left_aligned_text"
 82 width="300"
 83 halign="left"
 84 top_pad="10">
 85    Left aligned text
 86  </text>
 87  <text
 88 left="10"
 89 name="v_pad_text"
 90 height="40"
 91 width="300"
 92 halign="left"
 93 top_pad="10"
 94 v_pad="10">
 95    v_pad = 10, height = 40
 96  </text>
 97  <text
 98 left="10"
 99 name="v_pad_text"
100 height="40"
101 width="300"
102 halign="left"
103 top_pad="10"
104 h_pad="30">
105    h_pad = 30, height = 40
106  </text>
107  <text
108 top_pad="10"
109 left="10"
110 right="-10"
111 height="20"
112 follows="top|left"
113 font.name="SansSerifSmall"
114 name="test_text10"
115 tool_tip="text">
116    SansSerifSmall
117    The ???? brown fox ???jumped over the lazy dog.
118  </text>
119  <text
120   top_pad="10"
121   left="10"
122   right="-10"
123   height="25"
124   follows="top|left"
125   font.name="SansSerifMedium"
126   name="test_text11"
127   tool_tip="text">
128    SansSerif
129    The ???? brown fox ???jumped over the lazy dog.
130  </text>
131  <text
132   top_pad="10"
133   left="10"
134   right="-10"
135   follows="top|left"
136   height="26"
137   font.name="SansSerifLarge"
138   name="test_text12"
139   tool_tip="text">
140    SansSerifLarge
141    The ???? brown fox ???jumped over the lazy dog.
142  </text>
143  <text
144   top_pad="10"
145   left="10"
146   height="35"
147   right="-10"
148   follows="top|left"
149   font.name="SansSerifHuge"
150   name="test_text13"
151   tool_tip="text">
152    SansSerifHuge
153    The ???? brown fox ???jumped over the lazy dog.
154  </text>
155  
156<!-- next column -->
157  <text_editor
158 height="50"
159 follows="top|left|bottom"
160 left="400"
161 name="test_text_editor"
162 tool_tip="text editor"
163 top="25"
164 width="200">
165    Text Editor
166  </text_editor>
167  <text_editor
168 height="50"
169 follows="top|left|bottom"
170 left_delta="0"
171 name="long_text_editor"
172 tool_tip="text editor"
173 top_pad="10"
174 width="200">
175Text Editor
176with multiple
177lines of text
178and hence a
179scroll bar
180  </text_editor>
181  <text_editor
182 height="50"
183 follows="top|left|bottom"
184 left_delta="0"
185 max_length="65536" 
186 name="blob_text_editor"
187 tool_tip="text editor"
188 top_pad="10"
189 width="200"
190 word_wrap="true">
191Second 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.
192  </text_editor>
193    <text_editor
194 height="50"
195 follows="top|left|bottom"
196 font="Monospace"
197 left_delta="0"
198 name="monospace_text_editor"
199 tool_tip="text editor"
200 top_pad="10"
201 width="200">
202Text Editor
203with multiple
204lines of text
205and hence a
206scroll bar gjyrrr
207  </text_editor>
208    <text_editor
209      border_visible="true"
210      height="50"
211      follows="top|left|bottom"
212      font="Monospace"
213 left_delta="0"
214 name="monospace_text_editor"
215 tool_tip="text editor"
216 top_pad="10"
217 width="200">
218Text Editor
219with multiple
220lines of text
221and hence a
222scroll bar gjyrrr
223  </text_editor>
224    <text_editor
225 height="50"
226 follows="top|left|bottom"
227 font="SansSerif"
228 left_delta="0"
229 name="sansserif_text_editor"
230 tool_tip="text editor"
231 top_pad="10"
232 width="200">
233Text Editor
234with multiple
235lines of text
236and hence a
237scroll bar gjyrrr
238  </text_editor>
239
240  <text
241   height="40"
242   follows="top|left|bottom"
243   layout="topleft"
244   name="test_text_box"
245   tool_tip="text box"
246   top_pad="5"
247   width="200">
248Text box
249with
250multiple lines
251and too many lines
252to actually fit
253  </text>
254</floater>