PDA

View Full Version : Sidebar Width



Gigermann
March 1st, 2012, 00:54
I'm working on a skin for the GURPS 4e(enhanced) ruleset, and I need to widen the dock icons and sidebar area, but the solution isn't coming to me. I've found several (all, I think) references to the size of the icons and/or sidebar, and adjusted them accordingly: desktop_panels.xml, desktop_templates.xml, and desktopmanager.lua. Whatever I do, it seems I end up with two sets of stack/dock icons, that are shrunk down. What do I need to do?

Moon Wizard
March 1st, 2012, 01:26
Look for something like this. If you don't have a good editor to search through multiple files at once, I recommend Notepad++ as a free option.



<panel name="shortcuts">
<class>shortcuts</class>
<bounds>-98,0,98,-33</bounds>
</panel>


This is the desktop panel that defines the size of the sidebar.

Cheers,
JPG

Gigermann
March 1st, 2012, 02:25
<panel name="shortcuts" modes="host">
<class>gmshortcuts</class>
<bounds>
<anchored>
<top>
<anchor>top</anchor>
</top>
<bottom>
<anchor>bottom</anchor>
<offset>-33</offset>
</bottom>
<right>
<anchor>right</anchor>
</right>
<size>
<width>98</width>
</size>
</anchored>
</bounds>
</panel>
This is as close as I can find (plus the local and client version)—which, if this is the right place, I've changed that one. Depending on how I've plugged it in, it either gets ignored, or I get the double-set.

It seems like there's an inheritance issue, here, but I haven't been able to figure out how that works (and I have been over the help documentation, here, and on the wiki—which doesn't necessarily mean I've looked in the right place).

Moon Wizard
March 1st, 2012, 09:04
Are you trying to override through an extension, or modifying the ruleset directly?

Panels can not be overriden in v2.8.1. That capability will be added in v2.9.

Regards,
JPG

Gigermann
March 1st, 2012, 14:54
Are you trying to override through an extension, or modifying the ruleset directly?

Panels can not be overriden in v2.8.1. That capability will be added in v2.9.That's what I was afraid of—whether or not my suspicion in that regard was true. Irritating. Don't suppose we know when 2.9 is coming? :P

Moon Wizard
March 1st, 2012, 16:40
I just posted the alpha version in the Laboratory forum. It usually takes 6-8 weeks to settle into a release-able state.

Cheers,
JPG