2010-11-13, 12:37 PM
So, when npvr (or whatever name it finished with) was first released, I put aside any plugin development until it and the API had matured a little.
Tonight, feeling motivated, I decided to give moving the pvrx2 plugin code across - and almost immediately hit a wall.
So, let's start with wall one. I would very much like to stick with the horizontal buttonstip style, since that is what is use through the rest of npvr, and, it provides additional horizontal space for the main pane.
However, I have a number of different buttons that may or may not need to be made available depending on what options the user has selected.
The button attributes (location, size) are all hardcoded in the skin file - and I've been able to find no means to use, for example, "@button1size". Which leaves me having to design for the widest button, which just looks silly.
Beyond rolling my own control from scratch, are there any recommendations in using the buttonstrip to do what I need it to do? That is, resize itself and its contents, based on the button text provided, using the skin-supplied font?
Tonight, feeling motivated, I decided to give moving the pvrx2 plugin code across - and almost immediately hit a wall.
So, let's start with wall one. I would very much like to stick with the horizontal buttonstip style, since that is what is use through the rest of npvr, and, it provides additional horizontal space for the main pane.
However, I have a number of different buttons that may or may not need to be made available depending on what options the user has selected.
The button attributes (location, size) are all hardcoded in the skin file - and I've been able to find no means to use, for example, "@button1size". Which leaves me having to design for the widest button, which just looks silly.
Beyond rolling my own control from scratch, are there any recommendations in using the buttonstrip to do what I need it to do? That is, resize itself and its contents, based on the button text provided, using the skin-supplied font?