Thread: Disable / HIde Modifier Box
-
March 30th, 2020, 18:06 #1
Disable / HIde Modifier Box
Looking fora way to disable / hide the modifier box for a theme extension. A search queary turned up empty so I thought I'd ask here.
Ultimate License Holder
Systems:ALIEN, Savage Worlds (SWADE + Companions, 50 Fathoms, Interface Zero, Realms of Cthulhu), Call of Cthulhu 6th, FIASCO, Paranoia XP
FG Con 16 – Fantasy Grounds Online RPG Convention - Friday April 16th to Sunday April 18th, 2021
Register at www.fg-con.com for all the latest info.
-
March 30th, 2020, 18:13 #2
Removing the modifier box would require removing the desktop panel for it. Could comment out the modifier box panel in desktop_panels.xml and place it in the extension. See if that helps.
Dominic Morta
Ruleset Developer
Smiteworks
How to zip up your campaign if the Developers ask for it-How to zip up your campaign if the Developers ask for it
How to provide an Unity Connection issue?-Connection Issues and What to Provide
Unity Updater issue?-Updater Issues
Classic and Unity Port Forwarding?-Fantasy Grounds Connections Explained
Comcast or Cox ISP User?-Comcast XFinity and Cox Users
Have a suggestion?-Feature Request
-
March 30th, 2020, 19:15 #3
Just removing it from the desktop may not be enough. A lot of action (roll) code will check the modifier stack for any modifiers. I'm not sure if it will gracefully fail if the modifier desktop panel isn't there, or whether it will raise an error and break the roll.
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!
-
March 30th, 2020, 19:24 #4
Ok out of curisoity, I had to place <invisible /> tags on the elements for the windowclass to hide it.
Capture2.PNG
The location of changes were done in desktop_classes.xml under the modifierstack windowclassDominic Morta
Ruleset Developer
Smiteworks
How to zip up your campaign if the Developers ask for it-How to zip up your campaign if the Developers ask for it
How to provide an Unity Connection issue?-Connection Issues and What to Provide
Unity Updater issue?-Updater Issues
Classic and Unity Port Forwarding?-Fantasy Grounds Connections Explained
Comcast or Cox ISP User?-Comcast XFinity and Cox Users
Have a suggestion?-Feature Request
-
March 30th, 2020, 20:37 #5
For some reason the <invisible /> tab wasn't working. I did however try null values for where to anchor it and how large. Seems to work
<!-- Hide Modifier Panel -->
<panel name="modifierstack" modes="host,client" merge="join"><anchored width="0" height="0"><left offset="0" /><bottom offset="-0" /></anchored><invisible /></panel>Ultimate License Holder
Systems:ALIEN, Savage Worlds (SWADE + Companions, 50 Fathoms, Interface Zero, Realms of Cthulhu), Call of Cthulhu 6th, FIASCO, Paranoia XP
FG Con 16 – Fantasy Grounds Online RPG Convention - Friday April 16th to Sunday April 18th, 2021
Register at www.fg-con.com for all the latest info.
-
March 30th, 2020, 20:42 #6
That's great to hear. I'll post my extension for my method in case it helps someone else.
Dominic Morta
Ruleset Developer
Smiteworks
How to zip up your campaign if the Developers ask for it-How to zip up your campaign if the Developers ask for it
How to provide an Unity Connection issue?-Connection Issues and What to Provide
Unity Updater issue?-Updater Issues
Classic and Unity Port Forwarding?-Fantasy Grounds Connections Explained
Comcast or Cox ISP User?-Comcast XFinity and Cox Users
Have a suggestion?-Feature Request
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks