#Panel id=p_leiste active=true height=600 width=200 color=rgba(0,0,0,0)

1 messages · Page 1 of 1 (latest)

vale sun
#

<Panel
id="p_leiste"
active="true"
height="600"
width="200"
color="rgba(0,0,0,0)"
rectAlignment="MiddleRight"
offsetXY="0 40"
hideAnimation="FadeOut"
animationDuration="0.5"
allowDragging="true"
returnToOriginalPositionWhenReleased="false"
>
<Image
image="Leiste2"
preserveAspect="true"
height="600"
width="200"
rectAlignment="CenterRight"
>
</Image>

<Button
    onClick="hideLeiste"
    height="50"
    width="50"
    color="rgba(0,0,0,0)"
    text="x"
    textColor="rgba(0,0,0,1)"
    fontStyle="Bold"
    fontSize="40"
    rectAlignment="UpperRight"
    offsetXY="0 20"
    >
</Button>

<Button
    tooltip="0 - GODE

If you have a gode decide which ability he should use
Page: 11"

    height="75"
    width="130"
    color="rgba(1,1,1,1)"

    textColor="rgba(0.3,0.1,0.1,1)"
    fontStyle="Bold"
    fontSize="80"
    rectAlignment="Center"
    offsetXY="0 240"
    >
</Button>

<Button
    tooltip="1 - MOVEMENT

All units can move - generally by one tile
Page: 6"

    height="75"
    width="130"
    color="rgba(1,1,1,1)"

    textColor="rgba(0.3,0.1,0.1,1)"
    fontStyle="Bold"
    fontSize="80"
    rectAlignment="Center"
    offsetXY="0 200"
    >
</Button>

</Panel>

narrow bolt
#
<Panel
    id="p_leiste"
    active="true"
    height="600"
    width="200"
    color="rgba(0,0,0,0)"
    rectAlignment="MiddleRight"
    offsetXY="0 40"
    hideAnimation="FadeOut"
    animationDuration="0.5"
    allowDragging="true"
    returnToOriginalPositionWhenReleased="false"
    >
    <Image
        image="Leiste2"
        preserveAspect="true"
        height="600"
        width="200"
        rectAlignment="CenterRight"
        >
    </Image>

    <Button
        onClick="hideLeiste"
        height="50"
        width="50"
        color="rgba(0,0,0,0)"
        text="x"
        textColor="rgba(0,0,0,1)"
        fontStyle="Bold"
        fontSize="40"
        rectAlignment="UpperRight"
        offsetXY="0 20"
        >
    </Button>

    <Button
        tooltip="0 - GODE
 If you have a gode decide which ability he should use
 Page: 11"

        height="75"
        width="130"
        color="rgba(1,1,1,1)"

        textColor="rgba(0.3,0.1,0.1,1)"
        fontStyle="Bold"
        fontSize="80"
        rectAlignment="Center"
        offsetXY="0 240"
        >
    </Button>

    <Button
        tooltip="1 - MOVEMENT
 All units can move - generally by one tile
 Page: 6"

        height="75"
        width="130"
        color="rgba(1,1,1,1)"

        textColor="rgba(0.3,0.1,0.1,1)"
        fontStyle="Bold"
        fontSize="80"
        rectAlignment="Center"
        offsetXY="0 200"
        >
    </Button>
</Panel>

For clarities sake

vale sun
#

aye, sorry not super used to using discord to do this stuff

narrow bolt
#

no worries

vale sun
#

I'm thinking I'll just resort to using background images instead but I was hoping there'd be a nice tooltipSize attribute or something

narrow bolt
#

So the only thing I could advise is to try adjusting the scale of the root panel. (and change sizes accordingly) see if it makes a difference

vale sun
#

yeah already tried that

vale sun
#

hmm, seems like a good spot for a suggestion at nolt I guess 😄

#

thank you for the help tho!

narrow bolt
#

It's useless though. It uses a third party library for xml