-
August 2nd, 2020, 00:20 #1
How do I get dumb text in a charsheet subwindow that can be turned off and on?
I thought first I could just use something like:
Code:<windowclass name="charsheet" merge="join"> ... <sheetdata> <subwindow name="sub_mystuff"> ... <class>char_mystuff</class> <activate /> <fastinit /> <invisible /> <disabled /> </subwindow> </sheetdata> </windowclass> <windowclass name="char_mystuff" > ... <sheetdata> <label_charframetop name="theAstuff"> ... <static textres="my_text_A" /> <invisible /> </label_charframetop> <label_charframetop name="theBstuff"> ... <static textres="my_text_B" /> <invisible /> </label_charframetop> <label_charframetop name="theCstuff"> ... <static textres="my_text_C" /> <invisible /> </label_charframetop> ... </sheetdata> </windowclass>
Code:window.theAstuff.setVisible(true); .etc
So my question is - in a sub window full of controls - how do I place and control DUMB text? It seems to be there. But it is never ever displayed. Unless I'm not in the sub window - then labels work fine.
What do you do here?Free(Forums/Forge) Extension(FGU 5E):
Paid (Forge) Extension(FGU 5E):
-
August 3rd, 2020, 21:26 #2
What size is it? how have you positioned it in the window?
-
August 3rd, 2020, 23:30 #3Free(Forums/Forge) Extension(FGU 5E):
Paid (Forge) Extension(FGU 5E):
-
August 4th, 2020, 16:21 #4
Guess I'll have to trial and error on my own to figure this out.
Free(Forums/Forge) Extension(FGU 5E):
Paid (Forge) Extension(FGU 5E):
-
August 4th, 2020, 17:48 #5
-
August 6th, 2020, 23:03 #6
I don't know what I was doing wrong - but starting from scratch on these labels and everything is now working. My own stupidity at doing something bizarre I guess - then when starting at it fresh - worked. Not sure what I was doing wrong first time but I'm betting you were right and it had something to do with not giving height and width. Lesson learned, labels get a height and width always from now on.
Free(Forums/Forge) Extension(FGU 5E):
Paid (Forge) Extension(FGU 5E):
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks