https://linen.dev logo
Join Discord
Powered by
# haxe-ui
  • b

    best-agent-85158

    08/03/2022, 10:12 AM
    one needs to be non 100%
  • b

    bright-gpu-74537

    08/03/2022, 10:13 AM
    so, there is no reference size for it to calc a %... you either need to let the first (or i think any) autosize (or be fixed width), that will cause the grid to resize to contents (assuming autosized, which it is) which means the others can use that as a ref size
  • b

    bright-gpu-74537

    08/03/2022, 10:13 AM
    alternatively, you can give the grid a fixed or % width
  • b

    best-agent-85158

    08/03/2022, 10:13 AM
    yeah i missed on that one i know that
  • b

    bright-gpu-74537

    08/03/2022, 10:14 AM
    dropdown issue fixed btw?
  • b

    best-agent-85158

    08/03/2022, 10:14 AM
    checking rn
  • b

    best-agent-85158

    08/03/2022, 10:14 AM
    fixed
  • b

    best-agent-85158

    08/03/2022, 10:15 AM
    and the dropdowns:
  • b

    best-agent-85158

    08/03/2022, 10:16 AM
    niceeeeeee everything got fixed!
  • b

    best-agent-85158

    08/03/2022, 10:17 AM
    once again, thank you 🙂
  • b

    bright-gpu-74537

    08/03/2022, 10:17 AM
    np - it was a "good" find... very very specific, but technically could have happened on any backend if the numbers were right
  • b

    best-agent-85158

    08/03/2022, 11:31 AM
    btw, what was the solution for having that error?
  • b

    best-agent-85158

    08/03/2022, 11:32 AM
    i know thats accesible
  • b

    bright-gpu-74537

    08/03/2022, 11:39 AM
    try to remove the haxeui-core include in your project.xml
  • b

    bright-gpu-74537

    08/03/2022, 11:39 AM
    i think i have a better solution though - but i havent done it yet
  • b

    bright-gpu-74537

    08/03/2022, 11:40 AM
    if removing it doesnt work, try and flip around core / backend include order
  • b

    best-agent-85158

    08/03/2022, 12:15 PM
    did both, doesnt work...
  • b

    best-agent-85158

    08/03/2022, 12:15 PM
    weird
  • b

    bright-gpu-74537

    08/03/2022, 12:20 PM
    im, eventually, going to delete the base version all together, so no shadowing
  • l

    limited-nightfall-35757

    08/03/2022, 12:46 PM
    http://haxeui.org/builder/
  • l

    limited-nightfall-35757

    08/03/2022, 12:46 PM
    Basic Calculator example not working
  • b

    bright-gpu-74537

    08/03/2022, 12:55 PM
    ah, yeah, thats still using scripting which was changed from hscript to actual haxe code... probably just needs a small update since its not all dynamic now
  • b

    bright-gpu-74537

    08/03/2022, 1:00 PM
    this version works: http://haxeui.org/builder/?qlaufx
  • l

    limited-nightfall-35757

    08/03/2022, 1:03 PM
    thanks
  • p

    purple-businessperson-14467

    08/03/2022, 5:07 PM
    Ah, in my head I incorrectly thought bubble was "not past what I'm looking for", selfish person that I am. Which is incorrect of course. I also like the "@:xml" I had not used that before. That seems great place for xml for small renderers. It now registers the click on the button and the click in the dialog as the same(?) or near to it. I'll adjust one event to be different. not sure what autoRegisterInteractiveEvents=false is. I added that to renderer thinking it would block the first click event but didnt have luck
  • p

    purple-businessperson-14467

    08/03/2022, 5:10 PM
    Of course I had duplicate variable names which could be causing issue.
  • p

    purple-businessperson-14467

    08/03/2022, 5:21 PM
    Cleaned up events so no collisions. Still getting 2 event heard at listener (button and custom event) so I changed custom event to to be source=renderrer and filter listener on that. It all works
  • b

    bright-gpu-74537

    08/03/2022, 5:36 PM
    > not sure what autoRegisterInteractiveEvents=false is so basically, ItemRenderer will look for InteractiveComponent's and assign listeners to them, and when they fire will automatically update the data source data item (think of a slider for example, if you give it the "right" id, then you can get it to update the field on your data source automatically). However, this might not always be what you want, so i added the flag - if you arent get that behaviour its likely you are overriding updateValues on your custom renderer, or something like that
  • b

    bright-gpu-74537

    08/03/2022, 5:36 PM
    but anyway, glad its all working 🙂
  • p

    purple-businessperson-14467

    08/03/2022, 5:38 PM
    So should renderer button throw ComponentEvent if autoRegisterInteractiveEvents=false
1...119711981199...1687Latest