1#textdomain wesnoth-lib 2 3[resolution] 4 window_width, window_height = 800, 600 5 definition = "mp_create" 6 7 {GUI_WINDOW_FULLSCREEN} 8 9 [linked_group] 10 id = "tabs" 11 fixed_width = true 12 fixed_height = true 13 [/linked_group] 14 15 [linked_group] 16 id = "game_icons" 17 fixed_width = true 18 [/linked_group] 19 20 {_GUI_CUSTOM_OPTIONS_TREE_LINKED_GROUPS} 21 22 [tooltip] 23 id = "tooltip" 24 [/tooltip] 25 26 [helptip] 27 id = "tooltip" 28 [/helptip] 29 30 [grid] 31 [row] 32 grow_factor = 0 33 34 [column] 35 horizontal_grow = true 36 [grid] 37 [row] 38 [column] 39 grow_factor = 1 40 41 border = "all" 42 border_size = 5 43 horizontal_alignment = "left" 44 [label] 45 definition = "title" 46 47 label = _ "Create Game" 48 [/label] 49 [/column] 50 51 [column] 52 border = all 53 border_size = 5 54 horizontal_alignment = "right" 55 56 {_GUI_MP_CREATE_TAB_BAR} 57 [/column] 58 [/row] 59 [/grid] 60 [/column] 61 [/row] 62 63 [row] 64 grow_factor = 1 65 [column] 66 grow_factor = 1 67 horizontal_grow = true 68 vertical_grow = true 69 70 [stacked_widget] 71 id = "pager" 72 definition = "default" 73 74 [layer] 75 [row] 76 [column] 77 horizontal_grow = true 78 vertical_grow = true 79 [grid] 80 [row] 81 grow_factor = 0 82 [column] 83 horizontal_grow = true 84 [grid] 85 {_GUI_MP_CREATE_MAIN_OPTIONS} 86 [/grid] 87 [/column] 88 [/row] 89 90 [row] 91 grow_factor = 0 92 [column] 93 border = "all" 94 border_size = 5 95 horizontal_grow = true 96 [label] 97 definition = "default" 98 id = "game_title" 99 [/label] 100 [/column] 101 [/row] 102 103 [row] 104 grow_factor = 0 105 [column] 106 horizontal_grow = true 107 [grid] 108 [row] 109 {_GUI_MP_CREATE_MINIMAP_STACK} 110 111 {_GUI_MP_CREATE_MAP_OPTIONS} 112 [/row] 113 [/grid] 114 [/column] 115 [/row] 116 117 [row] 118 grow_factor = 1 119 [column] 120 horizontal_grow = true 121 vertical_grow = true 122 [grid] 123 [row] 124 [column] 125 vertical_alignment = "top" 126 [grid] 127 [row] 128 [column] 129 grow_factor = 0 130 131 border = "all" 132 border_size = 5 133 horizontal_alignment = "left" 134 [label] 135 definition = "default_small" 136 137 label = _ "Players:" 138 [/label] 139 [/column] 140 141 [column] 142 grow_factor = 1 143 144 border = "all" 145 border_size = 5 146 horizontal_grow = true 147 [label] 148 id = "map_num_players" 149 definition = "default_small" 150 [/label] 151 [/column] 152 [/row] 153 154 [row] 155 [column] 156 grow_factor = 0 157 158 border = "all" 159 border_size = 5 160 horizontal_alignment = "left" 161 [label] 162 definition = "default_small" 163 164 label = _ "Map size:" 165 [/label] 166 [/column] 167 168 [column] 169 grow_factor = 1 170 171 border = "all" 172 border_size = 5 173 horizontal_grow = true 174 [label] 175 id = "map_size" 176 definition = "default_small" 177 [/label] 178 [/column] 179 [/row] 180 [/grid] 181 [/column] 182 183 [column] 184 grow_factor = 1 185 vertical_grow = true 186 horizontal_grow = true 187 border = "all" 188 border_size = 5 189 190 [scroll_label] 191 id = "description" 192 definition = "default_small" 193 194 horizontal_scrollbar_mode = "never" 195 vertical_scrollbar_mode = "auto" 196 [/scroll_label] 197 [/column] 198 [/row] 199 [/grid] 200 [/column] 201 [/row] 202 203 [row] 204 grow_factor = 0 205 [column] 206 [grid] 207 {_GUI_MP_CREATE_GENERAL_PANEL} 208 [/grid] 209 [/column] 210 [/row] 211 [/grid] 212 [/column] 213 214 [column] 215 grow_factor = 0 216 vertical_grow = true 217 [grid] 218 [row] 219 grow_factor = 0 220 221 [column] 222 grow_factor = 0 223 vertical_grow = true 224 horizontal_grow = true 225 226 {_GUI_MP_CREATE_GAME_LIST} 227 [/column] 228 [/row] 229 [/grid] 230 [/column] 231 [/row] 232 [/layer] 233 234 [layer] 235 {_GUI_CUSTOM_OPTIONS_TREE} 236 [/layer] 237 238 [layer] 239 [row] 240 grow_factor = 0 241 [column] 242 horizontal_grow = true 243 [grid] 244 [row] 245 {_GUI_MP_CREATE_SHUFFLE_TOGGLE} 246 247 {_GUI_MP_CREATE_OBSERVER_TOGGLE} 248 [/row] 249 [/grid] 250 [/column] 251 252 [column] 253 horizontal_grow = true 254 [grid] 255 [row] 256 {_GUI_MP_CREATE_REGISTERED_TOGGLE} 257 258 {_GUI_MP_CREATE_SYNC_TOGGLE} 259 [/row] 260 [/grid] 261 [/column] 262 [/row] 263 264 [row] 265 grow_factor = 0 266 [column] 267 horizontal_grow = true 268 vertical_grow = true 269 [grid] 270 [row] 271 {_GUI_MP_CREATE_PRIVATE_TOGGLE} 272 [/row] 273 {_GUI_MP_CREATE_MAP_SETTINGS} 274 [/grid] 275 [/column] 276 277 [column] 278 horizontal_grow = true 279 vertical_grow = true 280 [grid] 281 {_GUI_MP_CREATE_TIME_LIMIT} 282 [/grid] 283 [/column] 284 [/row] 285 286 # This ensures the above rows don't expand 287 # to fill the available space. 288 [row] 289 grow_factor = 1 290 [column] 291 [spacer][/spacer] 292 [/column] 293 [column] 294 [spacer][/spacer] 295 [/column] 296 [/row] 297 [/layer] 298 [/stacked_widget] 299 [/column] 300 [/row] 301 302 [row] 303 grow_factor = 0 304 305 [column] 306 grow_factor = 1 307 horizontal_alignment = "right" 308 309 [grid] 310 [row] 311 grow_factor = 0 312 313 [column] 314 grow_factor = 1 315 316 border = "all" 317 border_size = 5 318 horizontal_alignment = "right" 319 [button] 320 id = "ok" 321 definition = "default" 322 323 label = _ "Create Game" 324 [/button] 325 [/column] 326 327 [column] 328 grow_factor = 0 329 330 border = "all" 331 border_size = 5 332 horizontal_alignment = "left" 333 [button] 334 id = "cancel" 335 definition = "default" 336 337 label = _ "Cancel" 338 [/button] 339 [/column] 340 [/row] 341 [/grid] 342 [/column] 343 [/row] 344 [/grid] 345[/resolution] 346