Ir para conteúdo
  • 0
Entre para seguir isso  
xS0NYx

OTClient Error

Pergunta

xS0NYx    15
xS0NYx

Gente as minhas windows quando eu arrasto pela tela, o conteudo dela começa se mexer também, começa a ficar tudo misturado, troca tudo de lugar, alguém sabe como resolver isso? Acho que é algo no anchors e tal, que não manjo direito :S, normal fica tudo na linha certinho, mas eu arrasto a janela e fica assim :S

 

[ATTACH]5455[/ATTACH]

Compartilhar este post


Link para o post

2 respostass a esta questão

Recommended Posts

  • 0
Eventide    7
Eventide

vc pode colocar o script só pra testar e ver oq é?

Compartilhar este post


Link para o post
  • 0
xS0NYx    15
xS0NYx

O script em si é o do inventory só editei o otui...

InventoryItem < Item


HeadSlot < InventoryItem
 id: slot1
 image-source: /images/game/slots/head
 &position: {x=65535, y=1, z=0}


BodySlot < InventoryItem
 id: slot4
 image-source: /images/game/slots/body
 &position: {x=65535, y=4, z=0}


LegSlot < InventoryItem
 id: slot7
 image-source: /images/game/slots/legs
 &position: {x=65535, y=7, z=0}


FeetSlot < InventoryItem
 id: slot8
 image-source: /images/game/slots/feet
 &position: {x=65535, y=8, z=0}


NeckSlot < InventoryItem
 id: slot2
 image-source: /images/game/slots/neck
 &position: {x=65535, y=2, z=0}


LeftSlot < InventoryItem
 id: slot6
 image-source: /images/game/slots/left-hand
 &position: {x=65535, y=6, z=0}


FingerSlot < InventoryItem
 id: slot9
 image-source: /images/game/slots/finger
 &position: {x=65535, y=9, z=0}


BackSlot < InventoryItem
 id: slot3
 image-source: /images/game/slots/back
 &position: {x=65535, y=3, z=0}


RightSlot < InventoryItem
 id: slot5
 image-source: /images/game/slots/right-hand
 &position: {x=65535, y=5, z=0}


AmmoSlot < InventoryItem
 id: slot10
 image-source: /images/game/slots/ammo
 &position: {x=65535, y=10, z=0}


MiniWindow
 id: inventoryWindow
 !text: tr('Inventory')
 image-source: fundo/fundoinventory.png
 icon: /images/topbuttons/inventory
 height: 400
 width: 200
 @onClose: modules.game_inventory.onMiniWindowClose()
 &save: true


 MiniWindowContents
   HeadSlot
     anchors.top: parent.right
     anchors.horizontalCenter: parent.horizontalCenter
     margin-top: -60
     margin-left: -60


   BodySlot
     anchors.top: parent.right
     anchors.horizontalCenter: parent.horizontalCenter
     margin-top: 20
     margin-left: -70


   LegSlot
     anchors.top: parent.right
     anchors.horizontalCenter: parent.horizontalCenter
     margin-top: 110
     margin-left: 60


   FeetSlot
     anchors.top: parent.right
     anchors.horizontalCenter: parent.horizontalCenter
     margin-top: 200
     margin-left: -60


   NeckSlot
     anchors.top: parent.right
     anchors.horizontalCenter: parent.horizontalCenter
     margin-top: -20
     margin-left: -60


   LeftSlot
     anchors.top: parent.right
     anchors.horizontalCenter: parent.horizontalCenter
     margin-top: 60
     margin-left: -70


   FingerSlot
     anchors.top: parent.right
     anchors.horizontalCenter: parent.horizontalCenter
     margin-top: 200
     margin-left: 60


   BackSlot
     anchors.top: parent.right
     anchors.horizontalCenter: parent.horizontalCenter
     margin-top: -50
     margin-left: 50


   RightSlot
     anchors.top: parent.right
     anchors.horizontalCenter: parent.horizontalCenter
     margin-top: 25
     margin-left: 80


   AmmoSlot
     anchors.top: parent.right
     anchors.horizontalCenter: parent.horizontalCenter
     margin-top: 100
     margin-left: -60

   Button
     id: Jutsus
     !text: tr('Jutsus')
     color: white
     width: 64
     anchors.top: parent.right
     anchors.horizontalCenter: parent.horizontalCenter
     margin-top: -90
     margin-left: 50
     @onClick: g_game.talk('!jutsu')

Editado por xS0NYx

Compartilhar este post


Link para o post
Visitante
Este tópico está impedido de receber novos posts.
Entre para seguir isso  
  • Quem Está Navegando   0 membros estão online

    Nenhum usuário registrado visualizando esta página.

×