• 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!

OTClient which is the proper way to add margin bottom to this otcv8

johnsamir

Advanced OT User
Joined
Oct 13, 2009
Messages
966
Solutions
6
Reaction score
166
Location
Nowhere
as title says
Lua:
  Panel
    id: gameRightPanels
    anchors.right: parent.right
    anchors.top: parent.top
    anchors.bottom: parent.bottom
    focusable: false
    layout:
      type: horizontalBox
      fit-children: true     
      spacing: -1

would like to add an invisible margin at the bottom of right panels
 
didn't worked
with two backpacks hiding behind taskbar
can yoiu help me to avoid this please? if backpack is going to appear behind task bar i should get closed, would like to add a margin at bottom of the right panel
that in this case is called uiminiwindowcontainer

1.png
these are files involved

Lua:
GameSidePanel < UIMiniWindowContainer
  image-source: /images/ui/panel_side
  image-border: 6
  padding: 2
  padding-top: 3
  width: 175
  focusable: false
  on: true
  layout:
    type: verticalBox
  $mobile:
    padding: 0
    width: 200
 
Last edited:
didn't worked
with two backpacks hiding behind taskbar
can yoiu help me to avoid this please? if backpack is going to appear behind task bar i should get closed, would like to add a margin at bottom of the right panel
that in this case is called uiminiwindowcontainer

View attachment 82995
these are files involved

Lua:
GameSidePanel < UIMiniWindowContainer
  image-source: /images/ui/panel_side
  image-border: 6
  padding: 2
  padding-top: 3
  width: 175
  focusable: false
  on: true
  layout:
    type: verticalBox
  $mobile:
    padding: 0
    width: 200
how can u enable and see the red stuff ?
 
how can u enable and see the red stuff ?
using this module

edit: with this code i added the margin, but it does not prevent to open backpack if there's no enough space to do it.
Lua:
GameSidePanel < UIMiniWindowContainer
  image-source: /images/ui/panel_side
  image-border: 6
  padding: 2
  padding-top: 3
  width: 175
  focusable: false
  on: true
  margin-bottom: 1
  layout:
    type: verticalBox
  $mobile:
    padding: 0
    width: 200
 
Last edited:
Back
Top