STAR TREK 2d20
  1. #1
    ShotGun Jolly's Avatar
    Join Date
    Aug 2009
    Location
    St. Johns, NL, Canada
    Posts
    717

    Side Bar Button Size

    Hi all,

    I am working on an extension and I have a question about the sidebar desktop buttons for Core

    I am aware that there is a set size restriction on those buttons, so if the button is bigger it automatically scales the image of that button to fit when the desktop is loaded. Where do I modify that set size? My goal is to set that size restriction to what ever I need.

    For what ever reason, I thought it was tied to the /scaleui feature but that is not the case.. as it scales everything.. so it looks like garbage if I scale it up.

    Anyone able to point me to where this can be adjusted, please?

    Thanks
    Jolly

  2. #2
    Trenloe's Avatar
    Join Date
    May 2011
    Location
    Colorado, USA
    Posts
    33,404
    Some discussion and pointers in this thread: https://www.fantasygrounds.com/forum...t-side-buttons It's mostly about the number of buttons in the sidebar, but it does mention button sizing (post #6) and there's a skeleton extension where you could add some of the sizing commands to experiment.
    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!

  3. #3
    ShotGun Jolly's Avatar
    Join Date
    Aug 2009
    Location
    St. Johns, NL, Canada
    Posts
    717
    Quote Originally Posted by Trenloe View Post
    Some discussion and pointers in this thread: https://www.fantasygrounds.com/forum...t-side-buttons It's mostly about the number of buttons in the sidebar, but it does mention button sizing (post #6) and there's a skeleton extension where you could add some of the sizing commands to experiment.
    I will check it out. I was not paying attention and I over wrote my older version of MoreCore with the newer one. (I usually back up the old file before I add the new one) anyways.. now all my morecore extensions got little small buttons and text floating over the top. So I am trying to change it.

    Thanks!

    Hmm.. is there a text showing how to use that extension?
    Last edited by ShotGun Jolly; November 30th, 2020 at 19:44.

  4. #4
    Trenloe's Avatar
    Join Date
    May 2011
    Location
    Colorado, USA
    Posts
    33,404
    Quote Originally Posted by ShotGun Jolly View Post
    Hmm.. is there a text showing how to use that extension?
    It's an extension to allow you to play with the DesktopManager functions. Post #6 mentions the DesktopManager.setDockIconSizeAndSpacing function which you could play around with in the sample extension - put any code you want to try in the onInit() function in the OneColumnSidebar.lua file in the extension. For what the underlying DesktopManager code does look in CoreRPG -> scripts\manager_desktop.lua.
    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
    ShotGun Jolly's Avatar
    Join Date
    Aug 2009
    Location
    St. Johns, NL, Canada
    Posts
    717


    Thats greek to me.. You forget that I am an idiot when it comes to this. (and many other things) Edited: That extension wont help me out.. its for setting the max columns in the side bar.. I need to increase the side bar button sizes.

    I will just asked Damned to send me (if he has one) an older back up of MoreCore.. cause i just single handedly destroyed all of my More Core Extension desktops when over wrote that older ruleset by accident. And I rather have the buttons back to where I can read and see them, then have little small buttons with large floating texts over them. Every extension that I use now has this happening.. and I can not figure out how to fix it in my extensions!

    I went from this, to this...
    Last edited by ShotGun Jolly; November 30th, 2020 at 20:57.

  6. #6
    ShotGun Jolly's Avatar
    Join Date
    Aug 2009
    Location
    St. Johns, NL, Canada
    Posts
    717
    Ahhh... Problem fixed and solved..

    Thanks to both Damned and Trenloe. Tunes out I did not need to change any numbers.. just delete a small portion of the code.

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
  •  
5E Product Walkthrough Playlist

Log in

Log in