5E Character Create Playlist
  1. #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.

  2. #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.

  3. #3
    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

  4. #4
    Quote Originally Posted by Moon Wizard View Post
    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
    Okay, I thought that might be the case. I'll tinker with it and see what I can come up with.

    Thanks again
    ---
    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.

  5. #5
    Quote Originally Posted by celestian View Post
    Okay, I thought that might be the case. I'll tinker with it and see what I can come up with.

    Thanks again
    First pass, works as needed. I also changed the select background color to white from black.



    I'm not sure if I want to keep the "background color" but I do use it for selection highlighting from the map... I'll try it like this for a while.
    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
FG Spreadshirt Swag

Log in

Log in