DICE PACKS BUNDLE
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
    20,735
    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 22: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 here https://www.fantasygrounds.com/featu...rerequests.php

  3. #3

  4. #4
    Trenloe's Avatar
    Join Date
    May 2011
    Location
    Colorado, USA
    Posts
    33,361
    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..
    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
    Colorado, USA
    Posts
    33,361
    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...
    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
    Colorado, USA
    Posts
    33,361
    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
    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
    Colorado, USA
    Posts
    33,361
    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.
    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

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
  •  
STAR TREK 2d20

Log in

Log in