Thread: Side Bar Button Size
-
November 30th, 2020, 18:36 #1
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
-
November 30th, 2020, 19:05 #2
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!
-
November 30th, 2020, 19:41 #3
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.
-
November 30th, 2020, 19:49 #4
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!
-
November 30th, 2020, 20:29 #5
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.
-
November 30th, 2020, 23:31 #6
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