DICE PACKS BUNDLE
Page 2 of 2 First 12
  1. #11
    Zeus's Avatar
    Join Date
    Mar 2009
    Location
    Olympus
    Posts
    2,658
    Blog Entries
    2
    Quote Originally Posted by damned View Post
    Hello stranger!
    ello, I know haven't been very active on the forums but I am around and working in the background
    FG Project Development
    Next Project(s)*: Starfinder v1.2 Starship Combat

    Current Project:
    Starfinder v1.1 - Character Starships
    Completed Projects: Starfinder Ruleset v1.0, Starfinder Core Rulebook, Alien Archive, Paizo Pathfinder Official Theme, D&D 5E data updates
    * All fluid by nature and therefore subject to change.

  2. #12
    I made my layout do this.
    As you can see by default when I add a melee weapon or a weapon away the next field moves.
    I would like to do the same with the inventory and the items that follow it

    https://youtu.be/xw5CHlaGD2M

    https://youtu.be/CBAk8zPH4eA
    Last edited by YAKO SOMEDAKY; November 24th, 2016 at 15:46. Reason: The video is not inserted

  3. #13
    Trenloe's Avatar
    Join Date
    May 2011
    Location
    Colorado, USA
    Posts
    33,402
    Anchoring with negative (-) values - as these anchor to the bottom/right of the window/control. This can be used to anchor the the bottom/right of a frame/subwindow to the bottom/right of a main window, so when the main window is resized so does the frame/subwindow.

    Also look at "relative" anchoring here: https://www.fantasygrounds.com/modguide/windowing.xcp This is what the majority of controls get their dynamic placement from.

    There are plenty of examples for relative anchoring throughout the FG rulesets. Search in files for "relative" and take time to understand how the XML is being used - as mentioned in the link above, there will be one anchor that all relative controls use, but the relative anchoring means they anchor to the previous control that has relative anchoring. Essentially, the anchoring of a bunch of controls is stringed together, so if the position of the anchor changes then so do the controls. If you want to make controls within windows adjust their placement dynamically you'll need to take the time to understand this.
    Private Messages: My inbox is forever filling up with PMs. Please don't send me PMs unless they are actually private/personal messages. General FG questions should be asked in the forums - don't be afraid, the FG community don't bite and you're giving everyone the chance to respond and learn!

  4. #14
    I understand that the back field should have a relation with the previous one, but I do not know where it says .. at least I can not read where it says that if the previous field "increase" the posterior one should move ....

  5. #15
    damned's Avatar
    Join Date
    Mar 2011
    Location
    Australia
    Posts
    26,678
    Blog Entries
    1
    Ok I couldnt get the frames to anchor to each other so I anchored them all from the bottom...

    Use these values and then try and work out why it works..

    <frame_char name="inventoryframe">
    <bounds>15,0,480,-305</bounds>
    </frame_char>

    <frame_char name="artifactframe">
    <bounds>15,-310,480,110</bounds>
    </frame_char>

    <frame_char name="coinframe">
    <bounds>15,-205,150,205</bounds>
    </frame_char>

    <frame_char name="incomeframe">
    <bounds>165,-205,330,205</bounds>
    </frame_char>

    You might play with some of those values.

  6. #16
    The minus symbol does miracles, but I still have problems, because the inventory became adjustable and I had managed to make the artifacts and books adjustable, but the inventory was no longer adjustable and I was standing still and my desire is that Both adjust.

  7. #17
    damned's Avatar
    Join Date
    Mar 2011
    Location
    Australia
    Posts
    26,678
    Blog Entries
    1
    Quote Originally Posted by Zeus View Post
    ello, I know haven't been very active on the forums but I am around and working in the background
    And we love your work!

  8. #18
    damned's Avatar
    Join Date
    Mar 2011
    Location
    Australia
    Posts
    26,678
    Blog Entries
    1
    Quote Originally Posted by yako2020 View Post
    The minus symbol does miracles, but I still have problems, because the inventory became adjustable and I had managed to make the artifacts and books adjustable, but the inventory was no longer adjustable and I was standing still and my desire is that Both adjust.
    I also want to be a millionaire.
    There is no ratio style measurement.
    You cannot say frame = 1/3 or similar so that they all expand.
    The code above will allow the Inventory to Scale and the rest to move appropriately.
    Or you can leave the inventoryframe as static and and make a few modifications to the artifactframe code above and it will scale.
    You cant have both as far as I can tell.

  9. #19
    I would like to use the record_char_main.xml information in the record_char_inventory course that adjustments would need to be made, since the offset part that it is just what I want to do ... ie the previous item moves the posterior one up to a certain limit and only After that it generates a scrollbar.

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