2015-12-20, 01:56
Hi bob/mike and mike,
Just tried the skinshortcut version of the widgets.
Looking great.
Just something to think about. Within your override.xml i have noticed you are not using the widget groupings.
I was trying to avoid using them for nox silvo but I had issues with limiting artwork choices for each widget as I am using the 'widget' and 'widgetype' for that.
An example is library data provider. It seems to set the 'widget' as an addon unless you use custom groupings. I am not sure of a easier method to limit artwork choices for a particular widget.
Another thought are widget backgrounds and width. I made sure every widget has the same panel width. There is a test image in the includes_widgets.xml. So the dimension of this are the maximum widget size including the background. For the height it will vary. I set this in the template.xml as background height, widget top position and label bottom position and made sure the widget was centred within the test image. I found this made the background image easy to handle then. Only 1 control with a $VAR for the texture and $PARAM for the height. So then for future widget styles I plan to add to nox silvo the width will always be the same.
If you were to follow a similar process, when I add new styles to nox silvo it would really just be a copy and paste and a few small dimension changes.
Anyway Just getting it out there that there is method to my coding madness
BTW I like what you have done so far. . and if you would like any help with getting it fully up and running let me know.
Just tried the skinshortcut version of the widgets.
Looking great.
Just something to think about. Within your override.xml i have noticed you are not using the widget groupings.
I was trying to avoid using them for nox silvo but I had issues with limiting artwork choices for each widget as I am using the 'widget' and 'widgetype' for that.
An example is library data provider. It seems to set the 'widget' as an addon unless you use custom groupings. I am not sure of a easier method to limit artwork choices for a particular widget.
Another thought are widget backgrounds and width. I made sure every widget has the same panel width. There is a test image in the includes_widgets.xml. So the dimension of this are the maximum widget size including the background. For the height it will vary. I set this in the template.xml as background height, widget top position and label bottom position and made sure the widget was centred within the test image. I found this made the background image easy to handle then. Only 1 control with a $VAR for the texture and $PARAM for the height. So then for future widget styles I plan to add to nox silvo the width will always be the same.
If you were to follow a similar process, when I add new styles to nox silvo it would really just be a copy and paste and a few small dimension changes.
Anyway Just getting it out there that there is method to my coding madness
BTW I like what you have done so far. . and if you would like any help with getting it fully up and running let me know.