From 7ab67c012fc2f051f8780fd43504de3aa4dfcbd7 Mon Sep 17 00:00:00 2001 From: Henrique Date: Wed, 16 Nov 2011 00:51:14 -0200 Subject: [PATCH] outfit crash --- modules/outfit/outfit.otui | 56 +++++++++++++++++++++++++++++++------- 1 file changed, 46 insertions(+), 10 deletions(-) diff --git a/modules/outfit/outfit.otui b/modules/outfit/outfit.otui index 427e2515..8d4ed004 100644 --- a/modules/outfit/outfit.otui +++ b/modules/outfit/outfit.otui @@ -1,15 +1,35 @@ Window title: Select Outfit + size: 256 320 anchors.horizontalCenter: parent.horizontalCenter anchors.verticalCenter: parent.verticalCenter - Creature - id: creature + onEnter: Outfit.accept() + onEscape: Outfit.destroy() + + Label + id: name + text: Outfit Name + width: 100 anchors.top: parent.top anchors.left: parent.left - margin.top: 30 + margin.top: 34 margin.left: 20 + + Creature + id: creature + anchors.top: name.bottom + anchors.left: name.left + margin.top: 5 + + Button + @onClick: Outfit.nextType() + text: >> + width: 32 + margin.top: 3 + anchors.top: creature.bottom + anchors.right: creature.right Button @onClick: Outfit.previousType() @@ -19,13 +39,29 @@ Window anchors.top: creature.bottom anchors.left: creature.left - Button - @onClick: Outfit.nextType() - text: >> - width: 32 - margin.top: 3 - anchors.top: creature.bottom - anchors.right: creature.right + CheckBox + text: Addon 1 + enabled: false + margin.top: 10 + width: 100 + anchors.top: prev.bottom + anchors.left: prev.left + + CheckBox + text: Addon 2 + enabled: false + margin.top: 10 + width: 100 + anchors.top: prev.bottom + anchors.left: prev.left + + CheckBox + text: Addon 3 + enabled: false + margin.top: 10 + width: 100 + anchors.top: prev.bottom + anchors.left: prev.left HorizontalSeparator anchors.left: parent.left