Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
larger and scrollable map list with max-height, fix Unvanquished#667
  • Loading branch information
illwieckz committed Mar 8, 2015
1 parent 2395859 commit 268cd7b
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions main/ui/server_create.rml
Expand Up @@ -7,24 +7,32 @@
.levelshot {
width: 100%;
}
/* select and selectbox elements are implicit, but their styles must be explicitely written */
row#maplist dataselect, row#maplist select, input#hostname, input#password {
width: 25em;
}
row#maplist selectbox {
max-height: 25em;
overflow-y: auto;
}


</style>
</head>
<body template="window" id="createserver" onShow="buildDS mapList" style="width:40em; margin:10%;">
<h1> Start local/LAN game</h1>
<row>
<input type="text" cvar="sv_hostname" class="text" style="width:20em;"/>
<input type="text" cvar="sv_hostname" class="text" id="hostname"/>
<h3> Hostname </h3>
</row>
<row>
<input type="text" cvar="g_password" class="text" style="width:20em;"/>
<input type="text" cvar="g_password" class="text" id="password"/>
<input cvar="g_needpass" type="checkbox" style="margin-right:1em;"/>
<h3> Password </h3>
</row>

<form onsubmit='execForm "map $map$"'>
<row>
<row id="maplist">
<dataselect source="mapList.default" fields="mapName" valuefield="mapLoadName" name="map" cvar="ui_dialogCvar1"/>
<h3> Map </h3>
</row>
Expand Down

0 comments on commit 268cd7b

Please sign in to comment.