• 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 prevent open container if there is no enough space for it

johnsamir

Advanced OT User
Joined
Oct 13, 2009
Messages
965
Solutions
6
Reaction score
164
Location
Nowhere
Hello, as title says how to prevent open container if there is no enough space for itorit and send it to another available container . Added this:
Code:
  margin-bottom: 1
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
which actually added margin. but it does not prevent to open container if there is no enough space. Here is an example
Code:
  margin-bottom: 1

so how to avoid to open container if there no enough space for it and close it or send it no another available panel?
 
Back
Top