Thread: Close button
-
December 15th, 2023, 16:33 #1
Close button
I can't understand the differences between the two buttons. It seems both derive from close, buth they are different, so what am I missing (coordinates aside)?
Code:<template name="close_charselect"> <close> <anchored> <top offset="1" /> <right offset="-1" /> </anchored> </close> </template> <template name="close_recordsheet"> <close> <anchored> <top offset="0" /> <right offset="0" /> </anchored> </close> </template> <template name="close_utilitybox"> <close> <anchored> <top offset="0" /> <right offset="0" /> </anchored> </close> </template>
-
December 15th, 2023, 20:03 #2
Supreme Deity
- Join Date
- Mar 2007
- Posts
- 20,538
close_charselect and close_utilitybox are both deprecated with the latest release; so setting those templates will not change anything.
There are two new templates (windowmenubar_utilitybox, windowmenubar_charselect) for laying out the new window menu buttons. The recordsheet top-level window frames have not been migrated yet, but that's in the pipeline.
Regards,
JPG
-
December 16th, 2023, 14:02 #3
I still do not understand the differences (see the image).
Code:<template name="windowmenubar"> <subwindow> <anchored position="insidetop" /> <class>windowmenubar</class> <activate /> </subwindow> </template> <template name="windowmenubar_charselect"> <windowmenubar> <anchored offset="-1,1" /> </windowmenubar> </template> <template name="windowtitlebar_utilitybox"> <windowtitlebar> <anchored offset="0,0" /> </windowtitlebar> </template>
-
December 16th, 2023, 22:29 #4
Supreme Deity
- Join Date
- Mar 2007
- Posts
- 20,538
That's the difference between the old templates/graphics with the new templates/graphics.
We are transitioning from the old composited fixed button graphics to a dynamically generated window menu bar that can be more easily themed and added to.
In order to minimize chaos across rulesets/extensions, I am slowly converting top-level window types to the new layout and features in stages. Thus, you are seeing both right now, depending on the window you are looking at.
Regards,
JPG
-
December 17th, 2023, 10:49 #5
-
December 18th, 2023, 06:03 #6
Supreme Deity
- Join Date
- Mar 2007
- Posts
- 20,538
The menu bar you should use is tied to the top-level window frame used. Basically, you adjust the menu bar positioning to match the graphic you are using for the frame definition, so that everything appears to line up.
Here's a summary of the suggested top-level window frames; and how they should be used:
https://fantasygroundsunity.atlassia...-Level-Windows
Regards,
JPG
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks