macskay90
December 2nd, 2020, 18:24
Hey guys,
I'm currently working on a new CoreRPG extension ruleset and am having good progress so far. Everything's working as expected and I get the stuff in I want rather quickly. However one thing is bothering me. I defined a new character sheet and filled it with various functionalities but whenever I open the sheet for the first time the console opens and gives me several warnings of the same type.
[12/2/2020 6:24:26 PM] [WARNING] window: Anchored static width ignored for control (memory) in windowclass (charsheet_default)
[12/2/2020 6:24:26 PM] [WARNING] window: Anchored static width ignored for control (liftcarry) in windowclass (charsheet_default)
[12/2/2020 6:24:26 PM] [WARNING] window: Anchored static height ignored for control (used_side_actions) in windowclass (charsheet_default)
[12/2/2020 6:24:26 PM] [WARNING] window: Anchored static width ignored for control (used_side_actions_label) in windowclass (charsheet_default)
[12/2/2020 6:24:26 PM] [WARNING] window: Anchored static width ignored for control (used_side_actions_label) in windowclass (charsheet_default)
[12/2/2020 6:24:26 PM] [WARNING] window: Anchored static width ignored for control (attackscore_label) in windowclass (charsheet_default)
[12/2/2020 6:24:26 PM] [WARNING] window: Anchored static width ignored for control (attackscore) in windowclass (charsheet_default)
I looked at the mentioned controls and tried several things. I removed width and height and readded them but nothing I do seems to change anything. Does anyone what triggers these?
See an example of "memory" below.
<label name="label_memory" source="stats.memory.label">
<anchored to="label_insight" position="below" offset="0,6" height="22"/>
<static textres="charsheet_default_memory" />
</label>
<auto_ability name="memory" source="stats.memory.score">
<anchored to="insight" position="below" offset="0,6" />
<default>0</default>
<source><name>stats.logic.score</name><op>+</op></source>
<source><name>stats.intuition.score</name><op>+</op></source>
</auto_ability>
Is there a way to work around these or even disable specific warnings within the console? I also tried using width and height on their own since the API documentation suggests this, however when doing this one dimensions size is wrong (which is not surprising). So when setting the control to `width="22" and height="22"` it works as expected but throws the warnings out. When deleting one of the attributes the warning if gone but the dimensions are off.
I'm currently working on a new CoreRPG extension ruleset and am having good progress so far. Everything's working as expected and I get the stuff in I want rather quickly. However one thing is bothering me. I defined a new character sheet and filled it with various functionalities but whenever I open the sheet for the first time the console opens and gives me several warnings of the same type.
[12/2/2020 6:24:26 PM] [WARNING] window: Anchored static width ignored for control (memory) in windowclass (charsheet_default)
[12/2/2020 6:24:26 PM] [WARNING] window: Anchored static width ignored for control (liftcarry) in windowclass (charsheet_default)
[12/2/2020 6:24:26 PM] [WARNING] window: Anchored static height ignored for control (used_side_actions) in windowclass (charsheet_default)
[12/2/2020 6:24:26 PM] [WARNING] window: Anchored static width ignored for control (used_side_actions_label) in windowclass (charsheet_default)
[12/2/2020 6:24:26 PM] [WARNING] window: Anchored static width ignored for control (used_side_actions_label) in windowclass (charsheet_default)
[12/2/2020 6:24:26 PM] [WARNING] window: Anchored static width ignored for control (attackscore_label) in windowclass (charsheet_default)
[12/2/2020 6:24:26 PM] [WARNING] window: Anchored static width ignored for control (attackscore) in windowclass (charsheet_default)
I looked at the mentioned controls and tried several things. I removed width and height and readded them but nothing I do seems to change anything. Does anyone what triggers these?
See an example of "memory" below.
<label name="label_memory" source="stats.memory.label">
<anchored to="label_insight" position="below" offset="0,6" height="22"/>
<static textres="charsheet_default_memory" />
</label>
<auto_ability name="memory" source="stats.memory.score">
<anchored to="insight" position="below" offset="0,6" />
<default>0</default>
<source><name>stats.logic.score</name><op>+</op></source>
<source><name>stats.intuition.score</name><op>+</op></source>
</auto_ability>
Is there a way to work around these or even disable specific warnings within the console? I also tried using width and height on their own since the API documentation suggests this, however when doing this one dimensions size is wrong (which is not surprising). So when setting the control to `width="22" and height="22"` it works as expected but throws the warnings out. When deleting one of the attributes the warning if gone but the dimensions are off.