{"action":"created","issue":{"url":"https://api.github.com/repos/Metaxal/MrEd-Designer/issues/3","repository_url":"https://api.github.com/repos/Metaxal/MrEd-Designer","labels_url":"https://api.github.com/repos/Metaxal/MrEd-Designer/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/Metaxal/MrEd-Designer/issues/3/comments","events_url":"https://api.github.com/repos/Metaxal/MrEd-Designer/issues/3/events","html_url":"https://github.com/Metaxal/MrEd-Designer/issues/3","id":312645903,"number":3,"title":"Missing columns property in list-box","user":{"login":"DexterLagan","id":38226103,"avatar_url":"https://avatars1.githubusercontent.com/u/38226103?v=4","gravatar_id":"","url":"https://api.github.com/users/DexterLagan","html_url":"https://github.com/DexterLagan","followers_url":"https://api.github.com/users/DexterLagan/followers","following_url":"https://api.github.com/users/DexterLagan/following{/other_user}","gists_url":"https://api.github.com/users/DexterLagan/gists{/gist_id}","starred_url":"https://api.github.com/users/DexterLagan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DexterLagan/subscriptions","organizations_url":"https://api.github.com/users/DexterLagan/orgs","repos_url":"https://api.github.com/users/DexterLagan/repos","events_url":"https://api.github.com/users/DexterLagan/events{/privacy}","received_events_url":"https://api.github.com/users/DexterLagan/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":17,"created_at":"2018-04-09T18:54:59Z","updated_at":"2018-05-02T15:19:59Z","closed_at":"2018-04-14T17:59:54Z","author_association":"NONE","body":"Hi there,\r\n\r\n  First of all, thanks so much for MrEd. It has made my UI life much easier.\r\nI commonly use multiple columns in list-boxes, but the only property offered in MrEd is 'choices', which only allows for one column, and no headers.\r\nI have to edit the generated code every time and add something like:\r\n        #:lbListBox-choices\r\n         (lbListBox-choices null)\r\n         #:lbListBox-columns\r\n         (lbListBox-columns (list \"-\"))\r\n\r\nOnce that's done, I also add a custom style to add 'column-headers, then it's easy to populate the listbox using my own little func:\r\n; Helper function to populate a list-box control\r\n(define (populate-listbox-w-columns listbox listbox-contents column-widths)\r\n  (if (null? listbox-contents) null\r\n      (begin (cond [(null? column-widths)   (for ([i (in-range 0 (length listbox-contents))]) ((curry set-column-width listbox i) 100))]                         ; If no column widths provided, use fixed default width\r\n                   [(number? column-widths) (for ([i (in-range 0 (length listbox-contents))]) ((curry set-column-width listbox i) column-widths))]               ; If one width provided, use fixed specified width\r\n                   [else                    (for ([i (in-range 0 (length column-widths))])    ((curry set-column-width listbox i) (list-ref column-widths i)))]) ; Else, set column widths using list\r\n             (send/apply listbox set listbox-contents)))) \r\n\r\nIf you could add this 'columns' property, and maybe add the 'column-headers style, it'd save me a lot of time :)\r\n\r\nBest regards,\r\n\r\nDexter\r\nMercury Filmworks - Disney TVA\r\n"},"comment":{"url":"https://api.github.com/repos/Metaxal/MrEd-Designer/issues/comments/386015516","html_url":"https://github.com/Metaxal/MrEd-Designer/issues/3#issuecomment-386015516","issue_url":"https://api.github.com/repos/Metaxal/MrEd-Designer/issues/3","id":386015516,"user":{"login":"DexterLagan","id":38226103,"avatar_url":"https://avatars1.githubusercontent.com/u/38226103?v=4","gravatar_id":"","url":"https://api.github.com/users/DexterLagan","html_url":"https://github.com/DexterLagan","followers_url":"https://api.github.com/users/DexterLagan/followers","following_url":"https://api.github.com/users/DexterLagan/following{/other_user}","gists_url":"https://api.github.com/users/DexterLagan/gists{/gist_id}","starred_url":"https://api.github.com/users/DexterLagan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DexterLagan/subscriptions","organizations_url":"https://api.github.com/users/DexterLagan/orgs","repos_url":"https://api.github.com/users/DexterLagan/repos","events_url":"https://api.github.com/users/DexterLagan/events{/privacy}","received_events_url":"https://api.github.com/users/DexterLagan/received_events","type":"User","site_admin":false},"created_at":"2018-05-02T15:19:58Z","updated_at":"2018-05-02T15:19:58Z","author_association":"NONE","body":"Hi Laurent,\n\n \n\n I just published this: https://github.com/DexterLagan/provide-generator\n\nA provide form generator  for Racket modules.\n\nI thought I’d share.\n\n \n\nDexter\n\n \n\nFrom: Laurent Orseau <notifications@github.com> \nSent: Thursday, April 19, 2018 10:42 AM\nTo: Metaxal/MrEd-Designer <MrEd-Designer@noreply.github.com>\nCc: DexterLagan <dexterlagan@gmail.com>; Author <author@noreply.github.com>\nSubject: Re: [Metaxal/MrEd-Designer] Missing columns property in list-box (#3)\n\n \n\nYes, please file a new issue. Thanks!\n\n\nOn Thu, Apr 19, 2018 at 3:27 PM, DexterLagan <notifications@github.com <mailto:notifications@github.com> >\nwrote:\n\n> I found a small bug in MrEd, when opening an existing project, the\n> previous project stub is still listed in the Hierarchy window :\n>\n>\n>\n>\n>\n>\n>\n> Do you prefer I post any bug as an issue, or email is OK?\n>\n>\n>\n> Thanks!\n>\n>\n>\n> Dex\n>\n>\n>\n> From: Laurent Orseau <notifications@github.com <mailto:notifications@github.com> >\n> Sent: Tuesday, April 17, 2018 11:44 AM\n> To: Metaxal/MrEd-Designer <MrEd-Designer@noreply.github.com <mailto:MrEd-Designer@noreply.github.com> >\n> Cc: DexterLagan <dexterlagan@gmail.com <mailto:dexterlagan@gmail.com> >; Author <author@noreply.github.com <mailto:author@noreply.github.com%0b> \n> >\n> Subject: Re: [Metaxal/MrEd-Designer] Missing columns property in list-box\n> (#3)\n>\n>\n>\n> Yeah, you should, definitely!\n>\n> On Tue, Apr 17, 2018 at 4:21 PM, DexterLagan <notifications@github.com <mailto:notifications@github.com> >\n> wrote:\n>\n> > Sure, I should probably upload all this to Github. First I have to clean\n> > up and organize my code, since this tax helper app was just a quick\n> project\n> > for myself.\n> >\n> > I’ve been very lazy with sharing my code but now I’m sitting on this big\n> > library and nobody but me benefits.\n> >\n> > For example, I developed a shell for Racket. I called it LSH (lisp\n> shell).\n> > It supports most commands a regular Unix shell supports, except that it\n> > also understands DOS commands. You can eval racket forms straight from\n> the\n> > command line, and even run operations on lists of files. You can record\n> > shell scripts / macros directly from the command line too, set variables\n> > and retrieve them. I use LSH to record path walks and build automation\n> apps\n> > for Disney. I should really post it as it’s a much simpler alternative to\n> > Rash. I have setup a github account, I just need to organize all this in\n> > projects and publish them. Your work on MrEd inspired me to do so.\n> >\n> >\n> >\n> > Dex\n> >\n> >\n> >\n> > From: Laurent Orseau <notifications@github.com <mailto:notifications@github.com> >\n> > Sent: Tuesday, April 17, 2018 10:26 AM\n> >\n> > To: Metaxal/MrEd-Designer <MrEd-Designer@noreply.github.com <mailto:MrEd-Designer@noreply.github.com> >\n> > Cc: DexterLagan <dexterlagan@gmail.com <mailto:dexterlagan@gmail.com> >; Author <\n> author@noreply.github.com <mailto:author@noreply.github.com> \n> > >\n> > Subject: Re: [Metaxal/MrEd-Designer] Missing columns property in list-box\n> > (#3)\n> >\n> >\n> >\n> > Cool! Do you think you could post a snapshot of what it looks like just\n> to\n> > see what you do with it? :)\n> >\n> > On Tue, Apr 17, 2018 at 2:24 PM, DexterLagan <notifications@github.com <mailto:notifications@github.com> >\n> > wrote:\n> >\n> > > Absolutely. I’ve been using the init params to setup column headers. I\n> > > just finished developing an app that takes care of my business income\n> > tax,\n> > > and without MrEd I would have had to use something else or be in a lot\n> of\n> > > pain. I download my account activity in CSV, and the app gives me\n> > > everything I need to enter in my tax return, with a bunch of tabs\n> showing\n> > > details. Lots of fun.\n> > >\n> > >\n> > >\n> > >\n> > >\n> > >\n> > >\n> > > Dex\n> > >\n> > >\n> > >\n> > > From: Laurent Orseau <notifications@github.com <mailto:notifications@github.com> >\n> > > Sent: Tuesday, April 17, 2018 9:04 AM\n> > > To: Metaxal/MrEd-Designer <MrEd-Designer@noreply.github.com <mailto:MrEd-Designer@noreply.github.com> >\n> > > Cc: DexterLagan <dexterlagan@gmail.com <mailto:dexterlagan@gmail.com> >; Author <\n> > author@noreply.github.com <mailto:author@noreply.github.com> \n> > > >\n> > > Subject: Re: [Metaxal/MrEd-Designer] Missing columns property in\n> list-box\n> > > (#3)\n> > >\n> > >\n> > >\n> > > Hi Dexter,\n> > >\n> > > Glad it works. Yes, the checkboxes don't appear to ensure backward\n> > > compatibility. (Although that's a simplicity default, maybe I should\n> try\n> > > harder to 'import' previous projects if the new interface is\n> different.)\n> > >\n> > > The column-header thing is a bug indeed, it should accept #f or a list,\n> > > but currently the property says #f or #t, which is wrong. I need to fix\n> > > that. For now you can just leave the r.h.s. checkbox unchecked, and use\n> > the\n> > > l.h.s. one to initialize it as an argument to your project-init\n> function.\n> > >\n> > > —\n> > > You are receiving this because you authored the thread.\n> > > Reply to this email directly, view it on GitHub <\n> > > https://github.com/Metaxal/MrEd-Designer/issues/3#\n> issuecomment-381983113\n> > >\n> > > , or mute the thread <https://github.com/notifications/unsubscribe- <https://github.com/notifications/unsubscribe-%0b> \n> > > auth/AkdIt3ob90qqnaHsjj3-P558bkQd_L5nks5tpehZgaJpZM4TNCzB> .\n> > >\n> > > —\n> > > You are receiving this because you modified the open/close state.\n> > > Reply to this email directly, view it on GitHub\n> > > <https://github.com/Metaxal/MrEd-Designer/issues/3# <https://github.com/Metaxal/MrEd-Designer/issues/3#\u000B> \n> > issuecomment-381990749>,\n> > > or mute the thread\n> > > <https://github.com/notifications/unsubscribe- <https://github.com/notifications/unsubscribe-%0b> \n> > auth/ABlNHKAFkQjTYbIm6Rom8rv_XSs3Uo2hks5tpez5gaJpZM4TNCzB>\n> > > .\n> > >\n> >\n> >\n> >\n> > —\n> > You are receiving this because you authored the thread.\n> > Reply to this email directly, view it on GitHub <\n> > https://github.com/Metaxal/MrEd-Designer/issues/3#issuecomment-382012209\n> >\n> > , or mute the thread <https://github.com/notifications/unsubscribe-auth/ <https://github.com/notifications/unsubscribe-auth/%0b> \n> > AkdIt2Lfsb0geMHh9Omf79ghGqxeDkz5ks5tpfuQgaJpZM4TNCzB> .\n> >\n> > —\n> > You are receiving this because you modified the open/close state.\n> > Reply to this email directly, view it on GitHub\n> > <https://github.com/Metaxal/MrEd-Designer/issues/3# <https://github.com/Metaxal/MrEd-Designer/issues/3#\u000B> \n> issuecomment-382032668>,\n> > or mute the thread\n> > <https://github.com/notifications/unsubscribe-auth/ <https://github.com/notifications/unsubscribe-auth/%0b> \n> ABlNHDUQY3aMBiG23joh7PJbh4q9dNSGks5tpgiWgaJpZM4TNCzB>\n> > .\n> >\n>\n>\n>\n> —\n> You are receiving this because you authored the thread.\n> Reply to this email directly, view it on GitHub <\n> https://github.com/Metaxal/MrEd-Designer/issues/3#issuecomment-382040885>\n> , or mute the thread <https://github.com/notifications/unsubscribe-auth/ <https://github.com/notifications/unsubscribe-auth/%0b> \n> AkdIt7Ovy58CC35tAOtOyWmLLDyPcYRYks5tpg3cgaJpZM4TNCzB> .\n>\n> —\n> You are receiving this because you modified the open/close state.\n> Reply to this email directly, view it on GitHub\n> <https://github.com/Metaxal/MrEd-Designer/issues/3#issuecomment-382757508>,\n> or mute the thread\n> <https://github.com/notifications/unsubscribe-auth/ABlNHOGZOgLSN-BB2-MdshOu639rL0XCks5tqJ7rgaJpZM4TNCzB>\n> .\n>\n\n\n\n—\nYou are receiving this because you authored the thread.\nReply to this email directly, view it on GitHub <https://github.com/Metaxal/MrEd-Designer/issues/3#issuecomment-382762589> , or mute the thread <https://github.com/notifications/unsubscribe-auth/AkdItyssD7UShhfPQnvCC2fct_M1uaLuks5tqKJPgaJpZM4TNCzB> .  <https://github.com/notifications/beacon/AkdIt2ky-mgQ_gU5mYolR33zEfPHxw69ks5tqKJPgaJpZM4TNCzB.gif> \n\n"}}
{"actor":{"display_login":"DexterLagan"}}