Jump to content
Korean Random

PlayersPanel, valign in extrafields


Budyx69

Recommended Posts

Nightly 6438, is valighn in extrafields buggy. or not?

 

This is my config for Flags:

"playersflag": {
"enabled": true, //Flag
"alpha": "{{alive?100|30}}",
"x": 0,
"y": 1,
"h": 13,
"w": 16,
"valign": "center",
"bindToIcon": false,
"src": "xvm://res/icons/flags/{{flag|eu}}.png",
"shadow": {}
},

 

with "valign": "center",

with_valigniruyo.png

 

and now without "valign": "center",

without_valign95ksm.png

 

Link to comment
Short link
Share on other sites

And this is the correct behavior:

│ "align"               │ horizontal alignment of the field relative to its position ("left" [default], "center", "right")
│ "valign"              │ vertical alignment of the field relative to its position ("top" [default], "center", "bottom")
│ "textFormat"/"align"  │ horizontal alignment of the text inside the field (left [default], center, right)
│ "textFormat"/"valign" │ alignment of the text inside the field ("top" [default], "center", "bottom")

"textFormat" is applicable only for text fields

Edited by sirmax
Link to comment
Short link
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...