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

    full-journalist-82607

    12/28/2022, 10:20 AM
    Oh nice ! great work. Indeed it's deceitfully simple.
  • b

    bright-gpu-74537

    12/28/2022, 10:21 AM
    well, it wasnt just that code change above, you'll need to pull haxeui-hxwidgets too...
  • b

    bright-gpu-74537

    12/28/2022, 10:21 AM
    (mapped a different event)
  • f

    full-journalist-82607

    12/28/2022, 10:22 AM
    Yes I was loking ath the code., so the right click isn't really used in wxwidgets
  • b

    bright-gpu-74537

    12/28/2022, 10:24 AM
    well there is RIGHT DOWN / UP / CLICK, but it seems it doesnt propagate...
  • b

    bright-gpu-74537

    12/28/2022, 10:25 AM
    and i couldnt force it to either
    e.ResumePropagation(wxEVENT_PROPAGATE_MAX)
    did nothing
  • b

    bright-gpu-74537

    12/28/2022, 10:25 AM
    ¯\_(ツ)_/¯
  • b

    bright-gpu-74537

    12/28/2022, 10:26 AM
    wx can be fickle mistress 😄
  • f

    full-journalist-82607

    12/28/2022, 10:29 AM
    funny, I wonder why ... Saying this, it's kind of nicer like this. Maybe wxwidgets adapts to the user settings, and if the user wants to show the context menu by clicking meta num 9, because his mouse is broken he can.
  • b

    bright-gpu-74537

    12/28/2022, 10:30 AM
    yeah, its defo better this way, take your example of wanting custom menu for text area, that wouldnt have worked with wx right click, since the event you want to cancel is the context menu
  • b

    bright-gpu-74537

    12/28/2022, 10:31 AM
    i think i am going to add right down / up though, as there may be times when its useful (like, maybe on a canvas or something)
  • f

    full-journalist-82607

    12/28/2022, 10:32 AM
    Yes indeed, it will be useful one day. Canvas is good use case.
  • f

    full-journalist-82607

    12/28/2022, 8:37 PM
    Just noticed a bug in the haxeui explorer , typing it here before I forget. Click on the employee app, then click on the todos app, then click on the employee app, then click on Engineering.
    Copy code
    Uncaught TypeError: windowList is null
        WindowList_WindowListItem http://haxeui.org/explorer/Main.js:40118
        invoke http://haxeui.org/explorer/Main.js:49487
        dispatch http://haxeui.org/explorer/Main.js:979
        dispatchChanged http://haxeui.org/explorer/Main.js:16270
        validateData http://haxeui.org/explorer/Main.js:16095
        validate http://haxeui.org/explorer/Main.js:14459
        validateData http://haxeui.org/explorer/Main.js:14149
        validateComponentData http://haxeui.org/explorer/Main.js:4256
        validateComponentInternal http://haxeui.org/explorer/Main.js:1473
        validateComponent http://haxeui.org/explorer/Main.js:1404
        process http://haxeui.org/explorer/Main.js:51550
  • f

    fierce-soccer-8550

    12/28/2022, 8:42 PM
    Awesome. I'll play with it, thank you.
  • m

    most-caravan-45834

    12/28/2022, 10:07 PM
    Are Dialogs not reusable? I get null pointers when showing the same Dialog twice
  • m

    most-caravan-45834

    12/28/2022, 10:08 PM
    Works fine if I create a new Dialog every time though
  • p

    purple-businessperson-14467

    12/29/2022, 4:30 AM
    Looks a little better with smaller icon
  • p

    purple-businessperson-14467

    12/29/2022, 4:34 AM
    Unrelated: I started making a "frame" into an accordion. I tried using the icon as the open/close signifier using class swapping but the icon never changes. Any ideas? http://haxeui.org/builder/?d4ff471d
  • b

    bright-gpu-74537

    12/29/2022, 6:20 AM
    by default dialogs will destroy themselves when they close, you can change this behaviour with
    destroyOnClose
  • b

    bright-gpu-74537

    12/29/2022, 6:23 AM
    so i dont think frame response to the "icon:" css... it probably should though tbf
  • b

    bright-gpu-74537

    12/29/2022, 6:35 AM
    this works: http://haxeui.org/builder/?0dcb0a46
  • b

    bright-gpu-74537

    12/29/2022, 6:36 AM
    (ill fix the icon thing anyway though as i think its perfectly valid to expect it to work as you had it)
  • b

    bright-gpu-74537

    12/29/2022, 6:40 AM
    its a nice component... quite like it 🙂 Maybe it should go in core... i wonder if it should be a seperate class
    CollapsibleFrame
    or a property,
    <frame collapsible="true" />
    ... im kinda edging towards the latter
  • p

    purple-businessperson-14467

    12/29/2022, 6:42 AM
    Maybe remove it from the icon? You may want a section icon also?
  • p

    purple-businessperson-14467

    12/29/2022, 6:43 AM
    I think I like collasible to
  • b

    bright-gpu-74537

    12/29/2022, 6:44 AM
    yeah, i was thinking the same... you would almost certainly want the option of a collapse / expand icon and a frame icon
  • b

    bright-gpu-74537

    12/29/2022, 6:49 AM
    i do like it though... feels nice
  • b

    bright-gpu-74537

    12/29/2022, 6:49 AM
    its basically like my collapsible custom compoment... i wonder in fact if that component would just be this but styled differently... 🤔
  • p

    purple-businessperson-14467

    12/29/2022, 6:54 AM
    The number is how many components the contents has. That looks good
  • b

    bright-gpu-74537

    12/29/2022, 6:55 AM
    > The number is how many components the contents has. well, i guess that would be something that is app specific, ie, your app your would just set the title to "X (14)"
1...135713581359...1687Latest