**** BEGIN LOGGING AT Mon Apr 01 02:59:57 2013 Apr 01 14:43:24 hey guys, I'm having trouble w/ CollapsingArranger Apr 01 14:43:32 Can anyone help? Apr 01 15:04:07 I'm having trouble w/ the peekWidth property Apr 01 15:04:29 whenever I set it, the Panels breaks Apr 01 15:14:18 strange Apr 01 15:14:32 It works when I set it in the Panels Apr 01 15:14:49 but not when I make an arranger that sets it o.o Apr 01 15:48:45 ok, so I decided to go w/ a Drawer instead Apr 01 15:49:17 but the height of the Drawer keeps changing larger for a split second when it first appears Apr 01 15:49:27 any way to deal w/ this? Apr 01 15:49:51 it also gets large when it is disappearing as well Apr 01 15:52:14 highlighting fxspec06, HaDAk , rrix, scoutcamper, and summatusmentis Apr 01 15:54:19 I'm not super familiar with Drawers, although, I've used them Apr 01 15:54:27 I don't know the answer to the CollapsingArranger issue Apr 01 15:58:03 :/ Apr 01 15:59:05 I think it's because the buttons initially become stacked on top of each other when it first displays the drawer Apr 01 15:59:20 But I don't know how to tell it not to do that Apr 01 16:01:35 when you say "keeps changing larger" what do you mean? Apr 01 16:02:47 so, the height of the container is 2em Apr 01 16:03:30 when the animation for the drawer first starts, it becomes about 6em for a split second Apr 01 16:03:36 then goes back to 2em Apr 01 16:04:21 and it looks like it's because it is stacking the buttons due to the changing width for the drawer Apr 01 16:04:34 like it is ignoring the overflow rules or something Apr 01 16:05:18 weird Apr 01 16:05:26 gotta run, I'll touch base with you later Apr 01 16:17:37 k Apr 01 17:19:28 I'm really not sure why your drawer would be over-sizing like that Apr 01 17:19:34 I've never seen that before Apr 01 17:21:12 well, I managed to prevent it, by forcing a size on the radiogroup that is inside it, and setting overflow to hidden on it Apr 01 17:21:34 however, it still has a rendering problem due to this stacking buttons thing Apr 01 17:22:22 now, 2 buttons slide out, and the third, which was stacked below it and therefore hidden, magically appears in the empty space to the right after they slide in Apr 01 17:22:46 it should be there already rather than stacked Apr 01 17:22:57 but I don't know how to get it to. Apr 01 17:30:36 it's like the third block is not rendering inline initially Apr 01 17:30:45 block being button Apr 01 17:34:04 that sounds like what's going on Apr 01 17:34:08 I agree Apr 01 17:35:17 but when I watch it in Firebug Apr 01 17:35:39 the computed value is inline-block the whole time -_- Apr 01 17:36:18 weird... Apr 01 17:37:11 yea :/ Apr 01 17:38:11 I'm starting to think I should just give up on these onyx radiobuttons and use Standard HTML ones Apr 01 17:39:03 or enyo.Checkboxes Apr 01 17:41:44 I've only ever used vertical drawers Apr 01 17:41:50 I wonder if this is an issue with horizontal Apr 01 17:42:06 yea, this is my first time using a horizontal one, too Apr 01 17:44:22 ugh, It's even doing it w/ checkboxes Apr 01 17:44:36 Back to Panels I go, I guess -_- Apr 01 17:48:56 hrm, now I remember why I was trying Drawers Apr 01 17:49:18 the Panel that is sliding in doesn't seem to fully render until it has slid in Apr 01 17:49:29 is there a way to get it to do that beforehand? Apr 01 17:50:24 I've never had that issue Apr 01 17:50:34 I don't think anyway Apr 01 17:55:47 :/ Apr 01 17:59:23 yea, when it animates in Apr 01 17:59:39 all I see is the left 5px or so of the panel Apr 01 17:59:50 until it reaches where it is supposed to be Apr 01 17:59:56 then the rest shows up Apr 01 18:00:09 Are you rendering the panel before you animate in? Apr 01 18:01:54 what do you mean? Apr 01 18:05:25 Basically, it's a Panel in my components, within a larger Panel that is doing my app views Apr 01 18:05:52 for testing purposes, I'm just dragging to switch Panels Apr 01 18:08:30 right, but are each of the individual panes being rendered? Apr 01 18:09:24 Are they not supposed to be by default? Apr 01 18:11:20 I don't see anything in the API mentioning rendering individual Panels Apr 01 18:12:16 I'm just wondering if you're doing so, it seems like it's re-rendering after the slide Apr 01 18:13:01 strangely enough, if I turn animate off, I don't have this problem Apr 01 18:13:51 weird Apr 01 18:14:04 yea Apr 01 18:17:31 well, I guess I won't animate it. :/ Apr 01 18:18:10 now I need to come up w/ a name for this widget. <.< Apr 01 18:22:52 So, if I wanted a widget whose components you define get added as components of one of its components, how would I do that? Apr 01 18:24:17 I didn't parse that, can you rephrase? Apr 01 18:25:10 ok Apr 01 18:25:17 so I have a Panels Apr 01 18:25:21 with 2 panels Apr 01 18:25:32 the first panel has a checkbox Apr 01 18:26:20 when I check that checkbox, the second panel, which contains radio buttons, slides in next to it Apr 01 18:26:35 and if I uncheck the box, the Panel slides away again Apr 01 18:27:32 I want to make this a widget where you define the initially toggleable value, and any number of radio buttons for the second panel Apr 01 18:28:15 so when I create my "ToggleRadio" kind, I want to be able to define the radio buttons like I am defining components Apr 01 18:28:35 whereas the toggleable value, I can define through standard properties Apr 01 18:29:08 sure, you'll need to basically have some logic to deal with it all Apr 01 18:29:27 maybe by publishing properties, and then onCreate managing the stuff Apr 01 18:30:00 I figured, I'm just not clear on how I would insert the defined Radio buttons into my components Apr 01 18:30:34 on, createComponent() Apr 01 18:30:41 oh* Apr 01 18:30:57 this.$.nameOfSecondPanel.createComponent() Apr 01 18:33:07 hrm, for some reason, I thought that createComponent wouldn't work for this situation Apr 01 18:33:34 I guess I'll try it and see what happens ;) Apr 01 18:35:36 it should Apr 01 18:40:06 to do that create component thing Apr 01 18:40:33 how would I bind it if I'm using enyo.forEach for iteration? Apr 01 18:40:40 like this? Apr 01 18:41:40 enyo.forEach(this.radioComponents,enyo.bind(this.$.radioGroup,createComponent),this); Apr 01 18:45:55 to set a parent? Apr 01 18:45:58 is that your goal? Apr 01 18:46:05 s/parent/owner/ Apr 01 18:46:05 summatus1entis meant: is that your goal? Apr 01 18:47:07 yea Apr 01 18:48:20 oh wait, I was confused about what you were asking Apr 01 18:48:25 I'm not familiar with forEach Apr 01 18:49:28 lol Apr 01 18:51:21 what I typed was almost correct, it looks like Apr 01 18:51:38 I got an error for unknown function createComponent Apr 01 18:51:57 once I changed that to this.createComponent, it seemed to work Apr 01 18:57:24 well, good Apr 01 19:06:48 I really wish the animate would work correctly tho' Apr 01 19:07:01 it would look so much better Apr 01 19:37:49 does anyone here know how to use Irfanview for color changes? Apr 01 19:38:10 I'm trying to turn the onyx checkbox image into a red version Apr 01 19:47:51 Is there a way to make panels not react to the mouse swiping over them? I only want to programatically switch which panel is displayed. Apr 01 19:48:03 GodGinrai, is there a reason you have to use Irfanview? Apr 01 19:49:43 Trex005: http://enyojs.com/api/#enyo.Panels there's a "draggable" attribute that you can set to false Apr 01 19:50:42 summatusmentis, thanks! Apr 01 19:51:35 has anyone attempted to do jasmine tests by emulating tap events to enyo controls? Apr 01 19:53:23 $(app.$.menuButton).trigger({type: "tap"}); Apr 01 19:53:34 that is what I'm currently trying to do, pluggin into jQuery Apr 01 19:55:32 the .click() method doesnt seem to be working either Apr 01 20:00:26 Trex005: Because I don't have admin rights at work, and the only image editing programs I have experience w/ is Irfanview and MSPaint Apr 01 20:06:46 why, what would you have suggested? Apr 02 02:00:21 Hello folks. I have a very complex UI connected to the server with socket.io. Different sections of the UI send out commands but since it's all syncronous, it's possible that part of the UI will not exist any longer when the response comes back. Is there any way to register listeners only as long as the object that called it still exists? Apr 02 02:00:39 all asynchronous that is.... Apr 02 02:20:00 alright.... let me try another approach. Is there such a thing as a distructor in enyo? **** ENDING LOGGING AT Tue Apr 02 02:59:58 2013