Jump to content

Votemanager position change


h4x7o0r

Recommended Posts

Hey guys, i've tried to find where this votemanager's having its rendering window parameters, but without any luck.

Can someone tell me what should i modify to move the entire votemanager (height) ? I've tried many ways within this votemanager_client.lua but i think the window isn't rendered from there.

Link to comment

votemanager_c.lua lines from 19 to 78 - edit these however you wish

local layout = {} 
layout.window = { 
    width = 150, 
    relative = false, 
    alpha = 0.85, 
} 
layout.title = { 
    posX = 10, 
    posY = 25, 
    width = layout.window.width, 
    relative = false, 
    alpha = 1, 
    r = 100, 
    g = 100, 
    b = 250, 
    font = "default-bold-small", 
} 
layout.option = { 
    posX = 10, 
    width = layout.window.width, 
    relative = false, 
    alpha = 1, 
    r = 200, 
    g = 200, 
    b = 200, 
    font = "default-normal", 
    bottom_padding = 4, --px 
} 
layout.cancel = { 
    posX = 10, 
    width = layout.window.width, 
    height = 16, 
    relative = false, 
    alpha = 1, 
    r = 120, 
    g = 120, 
    b = 120, 
    font = "default-normal", 
} 
layout.time = { 
    posX = 0, 
    width = layout.window.width, 
    height = 16, 
    relative = false, 
    alpha = 1, 
    r = 255, 
    g = 255, 
    b = 255, 
    font = "default-bold-small", 
} 
layout.chosen = { 
    alpha = 1, 
    r = 255, 
    g = 130, 
    b = 130, 
    font = "default-bold-small", 
} 
layout.padding = { 
    bottom = 10, 
} 

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

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