STEAM GROUP
TF2B Developer Group TF2B
STEAM GROUP
TF2B Developer Group TF2B
40
IN-GAME
455
ONLINE
Founded
13 April, 2010
All Discussions > Bug Reports > Topic Details
Zooming affects Number of items per row
So at 100% zoom (normal page) on google chrome on a screen 1920x1080, my BP shows 10 items per row. The moment I zoom out so the icons aren't so large, it drops to 9 items per row and stays there. any idea why the number of item per row changes, even when there's plenty of blank space on either side of the inventory to still fit 10 items per row on?

It bugs me because when I search for different things, it throws me to see a row and have to think 9 not 10. Also it bugs me because zooming shouldn't have this effect.
< >
Showing 1-15 of 17 comments
Athernar~ 17 Apr, 2014 @ 4:54pm 
Investigating.
Athernar~ 18 Apr, 2014 @ 7:21pm 
I've reproduced the issue in Firefox at extreme negative-zoom levels (Amusingly IE11 works perfectly), but I'm not exactly yet sure how to appropriately fix the issue.

I'll be rolling this in alongside the mobile and nano reworks. Hopefully should be soon.
Last edited by Athernar~; 18 Apr, 2014 @ 7:22pm
Athernar~ 2 May, 2014 @ 5:02pm 
This bug has now been fixed.

However I will add that this particular area of TF2B is going to be undergoing some changes/adjustments, so things may break again briefly in the future.
Tresmer 3 May, 2014 @ 11:46am 
still broken on firefox, 9 item per row, at any zoom level
Working on chrome for me, thanks. i'll let you know if it gets messed up again.
Tresmer 3 May, 2014 @ 1:10pm 
works fine on chrome for me also, seems to be a firefox problem....
HusKy 3 May, 2014 @ 4:08pm 
Works fine for me in FF 29.0.
Tresmer 3 May, 2014 @ 5:12pm 
i was on FF 28.0

I updated to 29.0 and it is fixed... fyi
Athernar~ 4 May, 2014 @ 2:19pm 
Doing a quick check on the CSS property that fixed the issue (box-sizing) it seems that Firefox was rather slow on the uptake, Mozilla only added unprefixed support as of Fx 29.

Details: http://caniuse.com/css3-boxsizing

@Tresmer, when you say Fx 28 was broken at any zoom level, do you mean the default page view too? (i.e. 100% zoom)
Rend 4 May, 2014 @ 6:44pm 
I can confirm that items show only 9 across on Firefox 28 at all zoom levels, even default.

http://i.imgur.com/KIKEfao.png
Athernar~ 4 May, 2014 @ 9:38pm 
I've "fixed" it for the meantime with the prefixed property while people gradually update to Fx 29 and the Australis drama settles down.

I highly dislike polluting CSS with prefixed properties, once the aforementioned transition and drama have passed - said property will probably be nuked.
Last edited by Athernar~; 4 May, 2014 @ 9:43pm
HusKy 5 May, 2014 @ 4:19am 
Tooltips and item menus are broken for me in Firefox.

"ReferenceError: event is not defined" on line 7
"7: {hbox.style.top=event.pageY+"px";hbox.style.left=event.pageX+"px";}"

I tried disabling some extensions, but that did not help. Works ok in IE. :)

edit. also seems like *some* Australium icons are not displaying:
http://tf2b.com/tf2/76561197971691194#8
Last edited by HusKy; 5 May, 2014 @ 4:23am
Athernar~ 5 May, 2014 @ 11:00am 
Oops, that JS shouldn't have been pushed out. Fixed the tooltips and etc, got a few other things that'll need a tweak though.

Will take a look at australium icons later.

EDIT: Australium icons should mostly be visible now, a certain person who shall remain nameless may have passed me the wrong prefix names for the model icons.

EDIT2: Aaaand fixed that weirdness with the gifts on the first page of that linked profile. Keep the bugs rolling in people. (Preferably in a new thread per issue)
Last edited by Athernar~; 5 May, 2014 @ 12:10pm
HusKy 8 May, 2014 @ 4:10am 
Regarding the Australium icons, knife is missing.
Athernar~ 8 May, 2014 @ 3:31pm 
Moved the icon over, should be displaying now.
< >
Showing 1-15 of 17 comments
Per page: 1530 50

All Discussions > Bug Reports > Topic Details