Joshua Stream Pre
  1. #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.

  2. #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 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?-Idea Informer

  3. #3
    Trenloe's Avatar
    Join Date
    May 2011
    Location
    Newcastle, UK (for a bit)
    Posts
    29,148
    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!

  4. #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 windowclass
    Dominic Morta
    Ruleset Developer
    Smiteworks

    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?-Idea Informer

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

  6. #6
    That's great to hear. I'll post my extension for my method in case it helps someone else.
    Attached Files Attached Files
    Dominic Morta
    Ruleset Developer
    Smiteworks

    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?-Idea Informer

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
DMsGuild Classic

Log in

Log in