PDA

View Full Version : Sidebar Template



Neuntausend
September 2nd, 2017, 15:37
Hey!

I'm currently in the process of making a theme for use with the 3.5e Ruleset. I would like to make the sidebar buttons smaller, as I don't think they need to be that big. However, wafting through the core RPG and 3.5e Rulesets, I'm having trouble finding where the sidebar is defined at all. I figured there must be a template for it, but I cannot seem to find it. Do you perhaps have any pointers for me?

Zacchaeus
September 2nd, 2017, 16:20
Hi Neuntausend, welcome to FG.

I don't know for sure but in coreRPG all of the buttons and frames are in the graphics folder.

Neuntausend
September 2nd, 2017, 17:14
Thank you!

Aye, I found those, but just scaling them down does not seem to change the space the button occupies in the sidebar. If I make the button "flatter" for example, there will just be empty space below and above it. That's why I assume there's a template somewhere that defines how big the buttons are.

Zacchaeus
September 2nd, 2017, 17:49
Well I think that's in the 'frames' bit that I mentioned. If you change the button size you'll need to figure out the offsets etc within the frame so that it shows up correctly.

Nickademus
September 2nd, 2017, 22:22
Try CoreRPG/desktop/template_desktop.xml:


<template name="desktop_stackitem">
<windowreferencecontrol>
<bounds>0,0,47,27</bounds>
<nodrag />
<noreset />
<closetoggle />
</windowreferencecontrol>
</template>