2022-11-13, 15:36
Hello,
I am currently updating AZ:R to Nexus and would like to replace the ColorPicker addon with the new Skin.SetColor function. If I specify a custom color list:
however, the colors are not displayed in order as they are in colors.xml, but imho randomly. Is this normal behavior and I have to live with it? Or will there still be an adjustment here?
I am currently updating AZ:R to Nexus and would like to replace the ColorPicker addon with the new Skin.SetColor function. If I specify a custom color list:
<onclick>Skin.SetColor(focuscolor.name, $LOCALIZE[31695],,special://skin/extras/colors/colors.xml)</onclick>
xml:<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<colors>
<color name="">ffb3e0ff</color>
<color name="">ffb2f0ff</color>
<color name="">ffb3ffff</color>
<color name="">ffb3fff0</color>
<color name="">ffb4ffe0</color>
<color name="">ffb3ffd1</color>
<color name="">ffb4fec3</color>
<color name="">ffb3ffb4</color>
<color name="">ffc2ffb2</color>
<color name="">ffd1ffb4</color>
<color name="">ffe0ffb3</color>
<color name="">fff1ffb4</color>
<color name="">ffe0e0e0</color><!-- This is the 1st color shown in the panel -->
<color name="">fffeff99</color>
<color name="">ffffeb9a</color>
<color name="">fffed699</color>
</colors>
however, the colors are not displayed in order as they are in colors.xml, but imho randomly. Is this normal behavior and I have to live with it? Or will there still be an adjustment here?