Minty23185Fresh
July 17th, 2022, 21:45
This post is with respect to release 2022-07.
There are two sticky threads in this forum that reference 2022-07, so I'm putting my question here.
I apologize if this is the wrong place for it.
(I basically never know what questions go here.)
Release - 2022-07 added the charsheet_overview windowclass to the (5E) character sheet. I suspect this was done to help community developers augment the ruleset functionality that's in place. In an earlier discussion (https://www.fantasygrounds.com/forums/showthread.php?73557-Is-the-quot-expanding-rectangle-quot-of-relation-quot-relative-quot-anchoring-a-dynamic-anchor) I complained of anchoring issues regarding controls that are directly affected by charsheet_overview.
In the Development Notes (this Forum) Moon Wizard states that there are "a number of notes" that will help community content developers bring their creations up to speed. Where might those be? (A link please.) Are they simply the list of bullet points in that thread? If so I was hoping for something more substantial.
At first glance, the changes effected by charsheet_overview might make it possible for multiple developers to handle the anchoring necessary to independently insert their control into the middle of the other controls (at the top of the 5E character sheet).
From the 5E ruleset, in the charsheet_overview windowclass these controls, using relation relative anchoring, are loaded from right to left:
<genericcontrol name="rightanchor"> .... </genericcontrol>
<button_charactivate> .... </button_charactivate>
<token_char name="token"> .... </token_char>
<label_charframetop name="inspirationtitle"> .... </label_charframetop>
<label_charframetop name="nametitle"> .... </label_charframetop>
Before I jump down the rabbit hole of my own personal anchoring nightmare, here is my question:
What is the best way to insert my icon control in between "token" and "inspiration title"?
To allow the relative anchoring to do its work, it seems to me that I might have to destroy "inspirationtitle" and "nametitle" (and any controls anchored to them). Then load my icon control, followed by reloads of "inspirationtitle" and "nametitle" (and any controls anchored to them).
Is this about right?
For those of us duking it out, for this highly-sought-after real estate on the 5E character sheet, it seems to me as though, the relative anchoring will really help us out.
E.g. if damed's two extensions ("ext1" and "ext2") load his controls first, they'll be anchored between "token" and "inspirationtitle". When my extension gets loaded, after his, since I just breaking the relation relative anchoring chain at "inspirationtitle" it doesn't matter who came before me, or after me, my extension just gets tacked on after his. I don't have to know that his loaded first, nor what their names are.
I HOPE.
There are two sticky threads in this forum that reference 2022-07, so I'm putting my question here.
I apologize if this is the wrong place for it.
(I basically never know what questions go here.)
Release - 2022-07 added the charsheet_overview windowclass to the (5E) character sheet. I suspect this was done to help community developers augment the ruleset functionality that's in place. In an earlier discussion (https://www.fantasygrounds.com/forums/showthread.php?73557-Is-the-quot-expanding-rectangle-quot-of-relation-quot-relative-quot-anchoring-a-dynamic-anchor) I complained of anchoring issues regarding controls that are directly affected by charsheet_overview.
In the Development Notes (this Forum) Moon Wizard states that there are "a number of notes" that will help community content developers bring their creations up to speed. Where might those be? (A link please.) Are they simply the list of bullet points in that thread? If so I was hoping for something more substantial.
At first glance, the changes effected by charsheet_overview might make it possible for multiple developers to handle the anchoring necessary to independently insert their control into the middle of the other controls (at the top of the 5E character sheet).
From the 5E ruleset, in the charsheet_overview windowclass these controls, using relation relative anchoring, are loaded from right to left:
<genericcontrol name="rightanchor"> .... </genericcontrol>
<button_charactivate> .... </button_charactivate>
<token_char name="token"> .... </token_char>
<label_charframetop name="inspirationtitle"> .... </label_charframetop>
<label_charframetop name="nametitle"> .... </label_charframetop>
Before I jump down the rabbit hole of my own personal anchoring nightmare, here is my question:
What is the best way to insert my icon control in between "token" and "inspiration title"?
To allow the relative anchoring to do its work, it seems to me that I might have to destroy "inspirationtitle" and "nametitle" (and any controls anchored to them). Then load my icon control, followed by reloads of "inspirationtitle" and "nametitle" (and any controls anchored to them).
Is this about right?
For those of us duking it out, for this highly-sought-after real estate on the 5E character sheet, it seems to me as though, the relative anchoring will really help us out.
E.g. if damed's two extensions ("ext1" and "ext2") load his controls first, they'll be anchored between "token" and "inspirationtitle". When my extension gets loaded, after his, since I just breaking the relation relative anchoring chain at "inspirationtitle" it doesn't matter who came before me, or after me, my extension just gets tacked on after his. I don't have to know that his loaded first, nor what their names are.
I HOPE.