thevbm Posted October 29, 2015 Posted October 29, 2015 Never had a time to report this, and quite frankly I have no idea if this is something that should be reported upstream or it's just a config thing. (was too lazy to grab 'vanilla' xvm config to test it) Carousel has a bit of extra space on the left and right, is there something that could be done for this ? Or it's on purpose in order to properly size the available viewport for full number of cells ? (In my case i can see 10 tanks at the same time (since i'm using 2 rows)) I'm talking about space left from filters and right of 'slider'. Quote
Moderator Quaksen Posted October 29, 2015 Moderator Posted October 29, 2015 (edited) Probably just filler space, so the tank icons fit properly. You could always give it a try, by changing the two numbers in the padding section: \res_mods\configs\xvm\Aslain\carousel.xc (Recommended using Notepad++) Edit: The padding is around the tank icons on the carousel. Edited October 29, 2015 by Quaksen Quote
Fireholder1 Posted October 29, 2015 Posted October 29, 2015 There's a custom editor available at the XVM website. It was created specifically to edit .xc files, and has a few functions Notepad++ does not.http://www.koreanrandom.com/forum/topic/6483-editing-of-xvm-configuration-files-xvmxc-xc/ Quote
thevbm Posted October 30, 2015 Author Posted October 30, 2015 (edited) Probably just filler space, so the tank icons fit properly. Yeah, It's just a space that couldn't be used for even number of cells. I guess this is related code for it https://bitbucket.org/XVM/xvm/src/57519fdcb09458350fb76ca23f95776f2ebb88d5/src/xvm/src/xvm/tcarousel_ui/UI_TankCarousel.as?at=default&fileviewer=file-view-default#UI_TankCarousel.as-497 edit: In my case I've managed to get another two slots visible by just setting horizontal padding to 2 instead of 10. diff --git a/carousel.xc b/carousel.xc index cc3363b..863f667 100644 --- a/carousel.xc +++ b/carousel.xc @@ -8,7 +8,7 @@ "rows": 2, // Spacing between carousel cells. "padding": { - "horizontal": 10, + "horizontal": 2, "vertical": 2 }, // true - show filters only if all tanks do not fit on the screen. Edited October 30, 2015 by thevbm Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.