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

[Help][client_background] Easy question from newbie

solven

New Member
Joined
Apr 24, 2010
Messages
1
Reaction score
0
Ok, for now, I want to modify _background and _entergame, but I have stupid questions.

In background.otui I have this:
CSS:
Panel
  id: background
  image-source: /images/background
  image-smooth: false
  image-fixed-ratio: true
  anchors.top: topMenu.bottom
  anchors.left: parent.left
  anchors.right: parent.right
  anchors.bottom: parent.bottom
  margin-top: 1
  focusable: false

Here I have some commands like "image-smooth" etc.. My question is where can I find list of all commands for the "Panel"? Is that somewhere in c++ code? Can't find it :(

Basically first thing I want to do is set the background image resizable to false. I want keep the image always the same size in center of the screen, and when someone change size of the client window the image will still stay on the center with the same size and rest will be filled with the background scene color (default black).
I'm not sure it's even possible, and sorry for bad english...
 
Back
Top