mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
changed admin window width
This commit is contained in:
parent
1078873ae4
commit
41fca06c05
@ -856,7 +856,7 @@ impl PlayState for SessionState {
|
|||||||
if is_admin {
|
if is_admin {
|
||||||
Window::new(im_str!("Admin Commands"))
|
Window::new(im_str!("Admin Commands"))
|
||||||
.collapsed(true, Condition::FirstUseEver)
|
.collapsed(true, Condition::FirstUseEver)
|
||||||
.size([600.0, 400.0], Condition::FirstUseEver)
|
.size([556.0, 311.0], Condition::FirstUseEver)
|
||||||
.position([400.0, 20.0], Condition::FirstUseEver)
|
.position([400.0, 20.0], Condition::FirstUseEver)
|
||||||
.build(ui, || {
|
.build(ui, || {
|
||||||
ui.list_box::<ImStr>(&im_str!("##"), &mut items_list_selected_item.borrow_mut(), &items.iter().map(|x| x.as_ref()).collect::<Vec<_>>(), 10);
|
ui.list_box::<ImStr>(&im_str!("##"), &mut items_list_selected_item.borrow_mut(), &items.iter().map(|x| x.as_ref()).collect::<Vec<_>>(), 10);
|
||||||
|
Loading…
Reference in New Issue
Block a user