Make the dialogs resizable.
This commit is contained in:
@@ -169,23 +169,28 @@ var GempLotrGameUI = Class.extend({
|
||||
.dialog({
|
||||
autoOpen: false,
|
||||
closeOnEscape: false,
|
||||
resizable: false,
|
||||
resizable: true,
|
||||
minHeight: 80
|
||||
});
|
||||
|
||||
this.dialogInstance.bind("resize", function() {
|
||||
var width = $(this).width();
|
||||
var height = $(this).height();
|
||||
this.specialGroup.setBounds(this.padding, this.padding, width - 2 * this.padding, height - 2 * this.padding);
|
||||
});
|
||||
|
||||
$(".ui-dialog-titlebar-close").hide();
|
||||
|
||||
this.infoDialog = $("<div></div>")
|
||||
.dialog({
|
||||
autoOpen: false,
|
||||
closeOnEscape: true,
|
||||
resizable: false,
|
||||
resizable: true,
|
||||
title: "Card information",
|
||||
minHeight: 80,
|
||||
minWidth: 200,
|
||||
width: 600,
|
||||
height: 300,
|
||||
maxHeight: 300
|
||||
height: 300
|
||||
});
|
||||
|
||||
},
|
||||
|
||||
@@ -10,7 +10,9 @@ and go with different selection.
|
||||
15. Add join game screen, where players can choose to play and get paired automatically when a pair becomes available.
|
||||
16. Add an option to view an ongoing game.
|
||||
17. Timeout users from ChatServer the same way they are timed out of GameServer.
|
||||
18.
|
||||
18. Add display of site where player is on adventure path.
|
||||
19. Add filtering cards to deck-builder.
|
||||
20.
|
||||
|
||||
DONE:
|
||||
1. Introduce AbstractPermanent into Blueprint hierarchy.
|
||||
|
||||
Reference in New Issue
Block a user