-
November 24th, 2016, 14:15 #11FG 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.
-
November 24th, 2016, 15:40 #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/CBAk8zPH4eALast edited by YAKO SOMEDAKY; November 24th, 2016 at 15:46. Reason: The video is not inserted
[FGU ULTIMATE LICENSE HOLDER][BRAZILIAN][GMT-3]
[RPG PLAYER]
[TWITCH] [YOUTUBE]
[Core RPG - Package] [Leather Theme Addition] [Rolemaster (Classic) - Shopping Stores] [Rolemaster (Classic) - XP Tab]
-
November 24th, 2016, 16:24 #13
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!
-
November 24th, 2016, 21:45 #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 ....
[FGU ULTIMATE LICENSE HOLDER][BRAZILIAN][GMT-3]
[RPG PLAYER]
[TWITCH] [YOUTUBE]
[Core RPG - Package] [Leather Theme Addition] [Rolemaster (Classic) - Shopping Stores] [Rolemaster (Classic) - XP Tab]
-
November 24th, 2016, 22:26 #15
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.
-
November 25th, 2016, 01:51 #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.
[FGU ULTIMATE LICENSE HOLDER][BRAZILIAN][GMT-3]
[RPG PLAYER]
[TWITCH] [YOUTUBE]
[Core RPG - Package] [Leather Theme Addition] [Rolemaster (Classic) - Shopping Stores] [Rolemaster (Classic) - XP Tab]
-
November 25th, 2016, 02:09 #17
-
November 25th, 2016, 02:13 #18
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.
-
November 25th, 2016, 09:51 #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.
[FGU ULTIMATE LICENSE HOLDER][BRAZILIAN][GMT-3]
[RPG PLAYER]
[TWITCH] [YOUTUBE]
[Core RPG - Package] [Leather Theme Addition] [Rolemaster (Classic) - Shopping Stores] [Rolemaster (Classic) - XP Tab]
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks