Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Player Reader single players windows resizing? #36

Open
FiftyCaliber opened this issue Nov 23, 2019 · 1 comment
Open

Player Reader single players windows resizing? #36

FiftyCaliber opened this issue Nov 23, 2019 · 1 comment

Comments

@FiftyCaliber
Copy link
Contributor

I use the single players 1-4 and I have their height set to 107 with Always Auto Resize off. Yet when I start client up and enter lobby some of the windows (seems to be random) resize to the 56 height visually but in the configuration it still says 107. I've done some programming in .lua before but honestly I am very inexperienced and rusty so I am unsure about trying to fix this issue myself. My option.lua is the following:

return
{
    configurationEnableWindow = false,
    enable = true,

    allPlayersEnableWindow = false,
    allHideWhenMenu = false,
    allHideWhenSymbolChat = false,
    allHideWhenMenuUnavailable = false,
    allPlayersChanged = true,
    allPlayersAnchor = 1,
    allPlayersX = 50,
    allPlayersY = 50,
    allPlayersW = 450,
    allPlayersH = 350,
    allPlayersNoTitleBar = "",
    allPlayersNoResize = "",
    allPlayersNoMove = "",
    allPlayersTransparentWindow = false,

    singlePlayersEnableWindow = true,
    singlePlayersShowBarText = true,
    singlePlayersShowBarMaxValue = true,

    players = {
        {
            EnableWindow = true,
            Changed = false,
            Anchor = 6,
            X = -225,
            Y = -100,
            W = 150,
            H = 107,
            NoTitleBar = "NoTitleBar",
            NoResize = "NoResize",
            NoMove = "NoMove",
            NoScrollbar = "NoScrollbar",
            AlwaysAutoResize = "",
            TransparentWindow = false,
            SD = true,
            Invulnerability = true,
        },
        {
            EnableWindow = true,
            Changed = false,
            Anchor = 6,
            X = -75,
            Y = -100,
            W = 150,
            H = 107,
            NoTitleBar = "NoTitleBar",
            NoResize = "NoResize",
            NoMove = "NoMove",
            NoScrollbar = "NoScrollbar",
            AlwaysAutoResize = "",
            TransparentWindow = false,
            SD = true,
            Invulnerability = true,
        },
        {
            EnableWindow = true,
            Changed = false,
            Anchor = 6,
            X = 75,
            Y = -100,
            W = 150,
            H = 107,
            NoTitleBar = "NoTitleBar",
            NoResize = "NoResize",
            NoMove = "NoMove",
            NoScrollbar = "NoScrollbar",
            AlwaysAutoResize = "",
            TransparentWindow = false,
            SD = true,
            Invulnerability = true,
        },
        {
            EnableWindow = true,
            Changed = false,
            Anchor = 6,
            X = 225,
            Y = -100,
            W = 150,
            H = 107,
            NoTitleBar = "NoTitleBar",
            NoResize = "NoResize",
            NoMove = "NoMove",
            NoScrollbar = "NoScrollbar",
            AlwaysAutoResize = "",
            TransparentWindow = false,
            SD = true,
            Invulnerability = true,
        },
    },
}

Also not like it's an issue but why is player reader even active while in lobby?

@Solybum
Copy link
Owner

Solybum commented Nov 23, 2019

I think I might have experienced issues with those windows before, the auto resize stuff is not perfect... I guess I can check it out.

At some point tofuman came up with the idea of hiding some windows when you open the menu, nobody had done that before afaik, and I guess is the same for hiding windows based on the area you are.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants