-
July 17th, 2019, 23:49 #1
Overlapping button/icons outside of window
So let me show the image first.
The indicator arrow notes who has initiative. I would like to have it "hang out" past the window a little. Currently if I push it any further left the button gets clipped off on the left.
Where the button is placed, is in a subwindow, with a windowlist, then entry.
Would it be possible to even do this with that layout?---
Fantasy Grounds AD&D Reference Bundle, AD&D Adventure Bundle 1, AD&D Adventure Bundle 2
Documentation for AD&D 2E ruleset.
Custom Maps (I2, S4, T1-4, Barrowmaze,Lost City of Barakus)
Note: Please do not message me directly on this site, post in the forums or ping me in FG's discord.
-
July 17th, 2019, 23:52 #2
Here is the subwindow and windowlist xml layout. Above this is the main window control.
Code:<template name="subwindow_cta_combatants"> <subwindow name="combatants"> <anchored to="contentanchor"> <top anchor="bottom" offset="22" /> <left anchor="left" offset="5" /> <!-- <right anchor="center" offset="-90" /> --> <bottom parent="" anchor="bottom" offset="-25" /> </anchored> <activate /> <fastinit /> <class>cta_combatant_list_host</class> <script> function onDrop(x, y, draginfo) return subwindow.list.onDrop(x, y, draginfo); end </script> <frame name="ct_subgroupbox" offset="0,2,2,0" /> </subwindow> </template> <!-- window list on the left of all combatants --> <windowclass name="cta_combatant_list_host"> <sheetdata> <list_cta_combatants_host name="list" /> <scrollbar> <anchored to="list" offset="-5,-10" /> <target>list</target> </scrollbar> </sheetdata> </windowclass>
---
Fantasy Grounds AD&D Reference Bundle, AD&D Adventure Bundle 1, AD&D Adventure Bundle 2
Documentation for AD&D 2E ruleset.
Custom Maps (I2, S4, T1-4, Barrowmaze,Lost City of Barakus)
Note: Please do not message me directly on this site, post in the forums or ping me in FG's discord.
-
July 17th, 2019, 23:55 #3
Supreme Deity
- Join Date
- Mar 2007
- Posts
- 20,561
You can't display any control outside of a window. In order to do what you want, you need to expand the space in the window on the left to give you space for your icon, and adjust all the frames to match what you want to show. This is how the current combat tracker handles it.
JPG
-
July 18th, 2019, 00:09 #4---
Fantasy Grounds AD&D Reference Bundle, AD&D Adventure Bundle 1, AD&D Adventure Bundle 2
Documentation for AD&D 2E ruleset.
Custom Maps (I2, S4, T1-4, Barrowmaze,Lost City of Barakus)
Note: Please do not message me directly on this site, post in the forums or ping me in FG's discord.
-
July 18th, 2019, 01:25 #5
Last edited by celestian; July 18th, 2019 at 02:17.
---
Fantasy Grounds AD&D Reference Bundle, AD&D Adventure Bundle 1, AD&D Adventure Bundle 2
Documentation for AD&D 2E ruleset.
Custom Maps (I2, S4, T1-4, Barrowmaze,Lost City of Barakus)
Note: Please do not message me directly on this site, post in the forums or ping me in FG's discord.
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks