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

    bright-gpu-74537

    01/18/2023, 9:03 AM
    this still doesnt work, ill have to think about a good way to handle this now
  • b

    bright-gpu-74537

    01/18/2023, 9:55 AM
    fyi, a problem with this method is not all char widths are equal (unless its a monospace font)... ie
    IIIIIIIIIIIIIIIII_IIIIIIIIIIII
    isnt the same pixel length as
    XXXXXXXXXXXXXXXXX_XXXXXXXXXXXX
    (in non monospaced fonts)
  • h

    hallowed-ocean-84954

    01/18/2023, 1:38 PM
    Ok thanx
  • c

    creamy-animal-95850

    01/18/2023, 1:47 PM
    Thanks for the update; I can confirm theme.icon works now 👍 As for changing with the theme: it looks like it uses the icons for the theme set at startup - it just doesn't update when the theme changes.
  • r

    refined-greece-48002

    01/18/2023, 3:25 PM
    Query: In the Window component, what does the button I marked here do?
  • b

    bright-gpu-74537

    01/18/2023, 3:26 PM
    "collapse" now i think about it, it might not be implemented... whoops 😄
  • r

    refined-greece-48002

    01/18/2023, 3:27 PM
    That would explain it!
  • r

    refined-greece-48002

    01/18/2023, 3:27 PM
    😄
  • r

    refined-greece-48002

    01/18/2023, 3:27 PM
    I was thinking it might be something wild like "pop out into a new native window" and my pop blocker was killing it
  • r

    refined-cat-44047

    01/18/2023, 10:16 PM
    Hey Ian, in
    haxeui-flixel
    , in the
    ComponentImpl
    class there is a
    _overrideSkipTransformChildren
    variable. It is private and set to
    true
    . But it seems to be causing me issues when I set the
    hidden
    property on some components. If I change it to
    false
    then things seem to work for me. Do you know the reason why it is true? And is there maybe a way I can set this from my code, without modifying haxeui-flixel itself?
  • e

    elegant-twilight-61392

    01/18/2023, 10:17 PM
    you can shadow the class to change the "source" file without actually changing the source file, but you can also use private access with this https://haxe.org/manual/lf-access-control.html
  • r

    refined-cat-44047

    01/18/2023, 10:20 PM
    Oh, interesting. I did not know about the
    :access
    thing. Thanks!
  • e

    elegant-twilight-61392

    01/18/2023, 10:21 PM
    although you should probably say what kind of issues you are having as its probably like that for a reason
  • r

    refined-cat-44047

    01/18/2023, 10:21 PM
    For shadowing a class, would I have to shadow the entire class? Or can I shadow, impliment one function, then have it use all the other source from the original file? Or is shadowing going to override everything with my new class
  • e

    elegant-twilight-61392

    01/18/2023, 10:25 PM
    the haxe compiler will ignore the file from the library
  • e

    elegant-twilight-61392

    01/18/2023, 10:25 PM
    so you have to copy the entire file basically
  • r

    refined-cat-44047

    01/18/2023, 10:27 PM
    ok, that's what I thought. All good. I just need the private access for now. I have mentioned the original issue I am having a few times, and have got some really good help. But just need something working now. I can revisit the actual issue later. Thanks for you help 🙂
  • r

    refined-cat-44047

    01/19/2023, 3:49 AM
    Anybody have any good examples of a date picker using HaxeUI, but for mobile. The one I see in the Component Explorer does not seem ideal for mobile touch screens
  • r

    refined-cat-44047

    01/19/2023, 4:06 AM
    I will just use a couple of dropdowns 🙂
  • r

    refined-cat-44047

    01/19/2023, 4:10 AM
    I noticed on this page (http://haxeui.org/api/getting-started/next-steps.html), the last two links, "haxeui-api" and "haxeui-guides" have their links reversed
  • b

    bright-gpu-74537

    01/19/2023, 7:53 AM
    Id be interested in what you come up with for mobile version
  • b

    bright-gpu-74537

    01/19/2023, 7:54 AM
    do you have a minimal repro, i think this is important (sometimes) so that it doesnt apply certain things to all of the FlxGroups children - tbh, its been a bit of a pain
  • r

    refined-cat-44047

    01/19/2023, 10:28 AM
    When I have some time I am definitely keen to get a minimal repo for ya. Looking through the git logs, I can tell it has been a pain 😄 Definitely seems like the kind of thing that never has a solid solution that fits all cases
  • b

    bright-gpu-74537

    01/19/2023, 10:29 AM
    exactly, yeah... its been ping ponging :/
  • r

    refined-cat-44047

    01/19/2023, 10:34 AM
    I have had all sorts of issues because of that one
    true
    on
    _overrideSkipTransformChildren
    😄 From buttons, or content areas not showing up when toggling the
    hidden
    property. To progress bar components not... doing their.... progress bar thing. But I also don't want to waist too much time, because I think it might just be for Flash/AIR. Although I also need to check that. I am just under some deadlines right now, so working around it, until I have time to think
  • b

    bright-gpu-74537

    01/19/2023, 10:41 AM
    > But I also don't want to waist too much time, because I think it might just be for Flash/AIR. Although I also need to check that. i doubt that its just air - it triggers behaviour in flixel in general > I have had all sorts of issues because of that one true on _overrideSkipTransformChildren 😄 hmmmm, maybe it should be "off" then... dunno, really need to get some test apps together and put this to bed once and for all > I am just under some deadlines right now, so working around it, until I have time to think i know the feeling - what are you building out of curiosity (or is it top secret?)
  • r

    refined-cat-44047

    01/19/2023, 10:44 AM
    Unfortunately it is secret at the moment, but it is a pretty cool project involving helping kids with hearing problems. Might be able to talk about it in a month or so 🙂
  • h

    happy-agent-4114

    01/19/2023, 4:26 PM
    how can I add a listener for specifically when the checkbox part of an item renderer changes without it also seeing when the label for the box is clicked
  • h

    happy-agent-4114

    01/19/2023, 4:27 PM
    the renderer:
    Copy code
    xml
    <tree-view id="unitSelector" width="100%" height="100%" styleName="full-width">
      <item-renderer layoutName="horizontal" width="100%">
        <label id="text" verticalAlign="center" width="100%"/>
        <checkbox id="checked" verticalAlign="center"/>
      </item-renderer>
      <item-renderer id="expandable" layoutName="horizontal" width="100%">
        <label id="text" verticalAlign="center" width="100%"/>
      </item-renderer>
    </tree-view>
  • h

    happy-agent-4114

    01/19/2023, 4:28 PM
    I want to add a listener for explicitly when the checkbox of the first renderer is changed
1...138713881389...1687Latest