I probably shouldn't even be writing this because the xml file should be left alone, but here goes anyways:
I was editing the theme xml file because I want my panels to be put in the right place when editing the theme using the theme editer. I move the <skin> stuff to a place where I want it to be since dragging theme panels left and right is not an option in the editer (feature reqeust;))
I was moving the last few panels around and found loads and loads of context data. The context data belonged to different panels from which I copied some buttons. While copying the a contexted button and placing it on another panel which doesn't use context (or only the default one), still all context is copied along. Obviously this makes perfect sense but I just don't want this context to be there when it is not needed. So instead of default context, a NONE context or Reset context would be nice too. My theme xml file has grown to 8600 lines from which I could delete 400 + lines of overhead context. I guess it's just me and text (xml) lines don't bother anybody.. but hey
theme xml file growing large due to context copies
-
- HouseBot Guru Extraordinaire
- Posts: 1121
- Joined: Tue Sep 28, 2004 7:49 am
- Location: The Netherlands
-
- HouseBot Special Member
- Posts: 409
- Joined: Tue Jul 13, 2004 9:13 am
- Location: Tigard, OR
Re: theme xml file growing large due to context copies
8600 lines!? WOW - that's amazing! Mine biggest theme is "only" about 3100 lines and I thought that was big (it has 53 panels). What are you doing that makes your files so large?
-
- HouseBot Guru Extraordinaire
- Posts: 1121
- Joined: Tue Sep 28, 2004 7:49 am
- Location: The Netherlands
Re: theme xml file growing large due to context copies
Just a lot of panels crowded with status, images, buttons.. well just about all there is to put on panels