**** BEGIN LOGGING AT Fri Jul 13 02:59:59 2012 Jul 13 03:44:02 are there any add ons uut there for enyo to do elastic scrolling? Jul 13 04:46:01 hey hey PatrickC Jul 13 04:46:17 wait.. is that the elusive invalidopcode1 that i see??? Jul 13 04:46:18 :P Jul 13 04:47:18 hows it goin man? Jul 13 04:48:53 Hi kids Jul 13 04:49:46 hey rrix Jul 13 04:50:05 How's hackin? Jul 13 04:50:24 its good.. getting a build env set up for a ROM i'm trying to help out with now actually :) Jul 13 04:51:12 Fun Jul 13 04:51:18 PatrickC: speak up so rrix can hear what you said... those old folks you know Jul 13 04:51:20 :P Jul 13 04:51:26 haha Jul 13 04:51:28 not doing any WOCE stuff? Jul 13 04:51:38 invalidopcode1: gawd damn, get off my lawnnnn Jul 13 04:51:42 touchpad is borked, but i am actually helping out with a little project :) Jul 13 04:51:55 Coo' Jul 13 04:52:08 hahahahah Jul 13 04:52:18 * rrix is doing geospatial searching and thus hating trigonometry Jul 13 04:52:43 rrix: i'm not doing trig for the next 2 years :) Jul 13 04:52:51 well, my sr year.. which is like a year and half away :) Jul 13 04:52:57 haha Jul 13 04:53:05 I did trig between 7 and 8th year Jul 13 04:53:15 * PatrickC is still in high school Jul 13 04:53:23 * rrix is a college derpout Jul 13 04:54:28 haha nice Jul 13 05:09:06 Oh god, and I'm switching this's context, too Jul 13 05:09:12 argh, so many function chains Jul 13 05:09:40 enyo.bind all the things Jul 13 05:27:07 Agh, I cannot make this sort function not suck :( Jul 13 06:08:38 woosh, geospatial searching, awww yeah http://i.imgur.com/QhrDi.png Jul 13 06:08:42 wont' work anywhere near the poles or dateline, but Jul 13 06:08:45 (I just assume the earth is a flat rectangle centered around 0,0 Jul 13 08:57:38 how can i use the drag event to track finger or mouse movment? Jul 13 08:57:56 it says it works cross platform but i casnt figure out the info stored in the event Jul 13 08:58:05 is it fudged at all? Jul 13 13:15:56 ondragstart: "dragstart", ondragend: "dragend" Jul 13 13:34:51 madnificent: epiphany...I'd like MozREPL in Firebug :D Jul 13 13:42:02 isn't the console good enough there? Jul 13 13:59:36 ah, there's chromebug...maybe that's good enough Jul 13 13:59:43 mostly just day dreaming ;) Jul 13 13:59:53 (and righting completely unrelated Python code) Jul 13 14:00:23 chromium has its own debugger tool, doesn't that suffice? Jul 13 14:00:33 (and if not, in what way not?) Jul 13 14:10:33 chrome inspector > Jul 13 16:14:44 hi all, I'm tyring to get a scroller working, and it doesn't seem to be holding it's scrolled position Jul 13 16:19:52 on what device? Jul 13 16:29:16 chrome/android Jul 13 16:40:19 what's happening Jul 13 16:40:28 i'm not sure i understand Jul 13 16:40:50 I try to scroll, and it jumps back to the top Jul 13 16:41:52 hmm, and that's happening in both chrome and android? Jul 13 16:42:10 sounds like maybe there's a height issue in the container Jul 13 16:42:41 chrome actually just isn't scrolling Jul 13 16:42:46 i think in chrome there's a button that colours all the divs so you can visualize the page... mayb take a look at that Jul 13 16:43:13 does it still happen if you resize the window Jul 13 16:43:50 no, it breaks Jul 13 16:44:04 so, the difficulty here is that I'm populating the scroller on-the-fly Jul 13 16:45:59 that's fine, i think you need to apply fit:true to the scroller and put it in a container with classes: "enyo-fit" Jul 13 16:47:49 well, to test try setting a height to the scroller temporarily to like 300 or something Jul 13 16:51:33 yeah, ok, so an explicit height worked Jul 13 16:53:25 ya, so the scroller isn't having a height property to it. you can try: { kind: "FittableColumns", classes: "enyo-fit", components: [ { kind: "Scroller", fit: true, components: [/*etc*/] } ]} Jul 13 16:54:42 the enyo-fit and fit:true are not documented anywhere as far as i remember Jul 13 16:54:46 does it need to be FittableColumns? Jul 13 16:55:24 uhm, you know i think it has to be fittable rows Jul 13 16:56:26 and be careful bcuz the enyo fit will ignore all other components in that container, similar to position: absolute Jul 13 17:10:24 yeah, that's not helpful Jul 13 17:10:38 I need it to work within a bigger setup Jul 13 17:18:01 that will work, you have to play around with it a bit. you could also try style: "height: 100%;"... i miss flex though =\ Jul 13 18:06:15 I tried that, thats actually what I'm using now Jul 13 18:38:11 well i think your only chance is to use enyo-fit somewhere, or you could set up a event listner for onresize and manually set the height Jul 13 18:40:51 I think you misunderstood Jul 13 18:41:53 I'm using the MenuPane community control, and I'm trying to put the Scroller inside of one of the panes (not panels). The when I try the fit way, it overlaps the toolbar in the pane Jul 13 18:42:02 Nice, my coworker just got Enyo tests working in Chai :3 Jul 13 18:42:09 or rather, Chai tests working in Enyo Jul 13 18:42:46 summatusmentis: then put the enyo-fit class in the container for both, and apply fit to the scroller Jul 13 18:43:17 what is Chai Jul 13 18:44:11 http://chaijs.com/ Jul 13 18:44:18 fxspec06: the container for both which? Jul 13 18:44:38 So far he's only ported asserts, but shoulds and expects should be doable Jul 13 18:45:51 summatusmentis: if the menupane is the parent of both the toolbar and the scroller, you can add the enyo-fit class to the menupane object, and then fit: true will work for the scroller Jul 13 18:46:36 I see Jul 13 18:47:24 http://i.imgur.com/NZhvQ.png <<< here, adding the enyo-fit class to the white background extends the white to fill the black. the red, green, and red are children of the white container. they don't have fit: true. but the green does, and therefore it expands to fill the rest of the space Jul 13 18:47:43 that's the best i've got Jul 13 18:48:05 alright, I'll much Jul 13 18:48:23 muck* Jul 13 18:51:44 does calling render() break fit: true; ? Jul 13 18:52:29 nope, but it could expose issues w/ your layout Jul 13 18:53:53 what does that mean? Jul 13 18:56:16 like, some stuff doesn't happen until after the initial components are loaded.. you might add stuff to a scroller, load another scene etc .. you probably need to render() after you do anything to make sure you're actually seeing what you wrote Jul 13 18:56:55 yeah, I'm doing that Jul 13 18:57:04 otherwise you may spend an hr trying to fix a problem that a render() would have fixed Jul 14 02:07:44 this was a ui library i was doing. I dont like onyx very much. http://cl.ly/I4Zl **** ENDING LOGGING AT Sat Jul 14 02:59:58 2012