• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

OTClientv8 inventory

Solution
layouts\mobile\styles\40-inventory.otui
you can for example remove margin-top from neckslot so it moves a bit up:

Lua:
      NeckSlot
        anchors.top: slot1.top
        anchors.right: slot1.left
        margin-right: 5

and if you want to literally make whole window bigger then just add height parameter:

Code:
InventoryWindow < MiniWindow
  icon: /images/topbuttons/inventory
  height: 300
  id: inventoryWindow
  @onClose: modules.game_inventory.onMiniWindowClose()
  &save: true
  &autoOpen: 3
layouts\mobile\styles\40-inventory.otui
you can for example remove margin-top from neckslot so it moves a bit up:

Lua:
      NeckSlot
        anchors.top: slot1.top
        anchors.right: slot1.left
        margin-right: 5

and if you want to literally make whole window bigger then just add height parameter:

Code:
InventoryWindow < MiniWindow
  icon: /images/topbuttons/inventory
  height: 300
  id: inventoryWindow
  @onClose: modules.game_inventory.onMiniWindowClose()
  &save: true
  &autoOpen: 3
 
Solution
thanks !!
Post automatically merged:

1717252678012.png
When I added more item slots, I don't see any item, do you know what the reason is?
 
Last edited:
Back
Top