Page 1 of 2 12 Last
  1. #1

    5E theme with with small right-side buttons?

    My current theme is "Wood Alternative 50", but I'd love to have small buttons on the right, as they're given more screen real-estate than they warrant during gameplay.

    Are there any themes that cater to this idea? I've not found any that I like w/ small buttons, and it seems buttons are not independently-sizeable.

  2. #2
    Zacchaeus's Avatar
    Join Date
    Dec 2014
    Location
    Scotland
    Posts
    11,363
    There are a couple of button extensions but I think those just add coloured ones rather than a resize. You could have a look at one of those and could probably change the button size.

    Having said that the buttons would still take up the same real estate as the normal single row of buttons I suspect. Unless you also changed the size of the entire bar.
    Last edited by Zacchaeus; February 11th, 2019 at 23:35.
    If there is something that you would like to see in Fantasy Grounds that isn't currently part of the software or if there is something you think would improve a ruleset then add your idea to the wish list http://fg2app.idea.informer.com/

  3. #3
    Good call -- thanks!

  4. #4
    Trenloe's Avatar
    Join Date
    May 2011
    Location
    Denver, Colorado, USA (for a bit)
    Posts
    24,142
    The buttons get resized in FG code - so that a certain number fit within a single sidebar, and above a certain number they appear in two columns.

    The calculations for the spacing of these "dock" buttons is contained in CoreRPG -> scripts\manager_desktop.lua It's a little complex as it has to cater to different FG screen/window sizes, variable number of buttons displayed (selected from the top of the library window), etc..
    FG Con 15 Fantasy Grounds Online RPG Convention - Nov. 8-10, 2019
    Register at www.fg-con.com for all the latest info.

    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!

  5. #5
    Quote Originally Posted by Zacchaeus View Post
    Having said that the buttons would still take up the same real estate as the normal single row of buttons I suspect. Unless you also changed the size of the entire bar.
    Just discovered that

    Perhaps I can just decrease the size of the bar in the theme I like.

  6. #6
    Trenloe's Avatar
    Join Date
    May 2011
    Location
    Denver, Colorado, USA (for a bit)
    Posts
    24,142
    There's a function DesktopManager.setMaxDockColumns(nMax) that can be used to override the default maximum of 3 columns. You could write a mini extension to change this (if this is what you're aiming for).

    There's also a function DesktopManager.setDockIconSizeAndSpacing(iw, ih, sw, sh) that could be used to override the expected default width, height and spacing of the dock button icon, which might help if you're looking to create an extension with smaller button icons.

    Trying to set the max dock columns to 1 (or 2) might be a good starting point...
    FG Con 15 Fantasy Grounds Online RPG Convention - Nov. 8-10, 2019
    Register at www.fg-con.com for all the latest info.

    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!

  7. #7
    Trenloe's Avatar
    Join Date
    May 2011
    Location
    Denver, Colorado, USA (for a bit)
    Posts
    24,142
    Try the attached as a starting point - you can mess around with the settings (change the current one, try DesktopManager.setDockIconSizeAndSpacing, etc.) to see what might work for you.
    Attached Files Attached Files
    FG Con 15 Fantasy Grounds Online RPG Convention - Nov. 8-10, 2019
    Register at www.fg-con.com for all the latest info.

    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!

  8. #8
    You know what? That'll do just fine for me. Thank you

  9. #9
    Trenloe's Avatar
    Join Date
    May 2011
    Location
    Denver, Colorado, USA (for a bit)
    Posts
    24,142
    Quote Originally Posted by MacDork View Post
    You know what? That'll do just fine for me. Thank you
    Cool. The thing to keep in mind is that this is also active for the players. If they don't like the one column sidebar, we can put a little bit of code in to only do this for the GM.
    FG Con 15 Fantasy Grounds Online RPG Convention - Nov. 8-10, 2019
    Register at www.fg-con.com for all the latest info.

    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!

  10. #10
    damned's Avatar
    Join Date
    Mar 2011
    Location
    Australia
    Posts
    19,036
    Blog Entries
    1
    You might also look at the Curse of Strahd theme - it uses an alternative button representation.

    MoreCore - Generic Ruleset
    --- Projects ---
    Extensions | Tutorials | MoreCore | MoreCore Themes | Call of Cthulhu | Maelstrom | FG Con

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
  •  

Log in

Log in