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

    future-iron-61487

    07/20/2022, 7:47 AM
    gotta make my way through 6502 first (that computer's text only though)
  • b

    bright-gpu-74537

    07/20/2022, 7:48 AM
    turns into:
  • b

    big-angle-82801

    07/20/2022, 11:15 AM
    Is there a cross platform way of changing the app window title?
  • b

    bright-gpu-74537

    07/20/2022, 12:41 PM
    Screen.instance.title
    should work
  • b

    bright-gpu-74537

    07/20/2022, 12:42 PM
    maybe
    App.instance
    also has a title prop, if it doesnt, maybe it should
  • b

    big-angle-82801

    07/20/2022, 12:43 PM
    thanks, that works great 👍
  • b

    big-angle-82801

    07/20/2022, 12:44 PM
    what's the path to the App class?
  • b

    bright-gpu-74537

    07/20/2022, 12:45 PM
    https://github.com/haxeui/haxeui-core/blob/master/haxe/ui/HaxeUIApp.hx
  • b

    bright-gpu-74537

    07/20/2022, 12:45 PM
    (should have said "HaxeUIApp" i guess)
  • b

    big-angle-82801

    07/20/2022, 12:45 PM
    Ah, no that's the first place I looked, it doesn't x)
  • b

    bright-gpu-74537

    07/20/2022, 12:46 PM
    yeah, i think it probably should as shortcut as, depending on context, Screen.instance.title doesnt feel right (like with a wx app for example)
  • b

    bright-gpu-74537

    07/20/2022, 12:49 PM
    ok, added,
    HaxeUIApp.instance.title
    should also work now
  • b

    big-angle-82801

    07/20/2022, 12:51 PM
    Thanks! That did feel like the natural place to look (at least to me)
  • b

    bright-gpu-74537

    07/20/2022, 12:53 PM
    agreed
  • b

    big-angle-82801

    07/20/2022, 5:22 PM
    what would be the property to control this white outline?
  • b

    big-angle-82801

    07/20/2022, 5:30 PM
    or rather the gap between the edges of the screen and the hbox
  • b

    big-angle-82801

    07/20/2022, 5:30 PM
    nvm, I set a padding value outside of my css file and i couldn't tell where it was coming from 🤦‍♂️
  • b

    best-agent-85158

    07/20/2022, 6:12 PM
    Is it possible (as a haxelib for haxeui) to add tags to the xml? Luke add the ability to use a
    <customElement>
    tag
  • b

    bright-gpu-74537

    07/20/2022, 8:15 PM
    you mean that white outer border?
  • b

    bright-gpu-74537

    07/20/2022, 8:15 PM
    ofc, this is what custom haxeui components are... technically btw, every component in haxeui "custom component" kinda
  • b

    bright-gpu-74537

    07/20/2022, 8:15 PM
    you just need a module.xml in your lib / project that exposes components, and the xml parser will resolve them to classes
  • b

    best-agent-85158

    07/20/2022, 8:17 PM
    but, lets say i want to implement this for my
    DynamicTextField
    class. would that be:
    Copy code
    xml
    <DynamicTextField matchTextSize="true">
    or
    Copy code
    xml
    <dynamic-text-field matchTextSize="true">
  • b

    best-agent-85158

    07/20/2022, 8:17 PM
    or any other way of writing this?
  • b

    best-agent-85158

    07/20/2022, 8:17 PM
    ah
  • b

    best-agent-85158

    07/20/2022, 8:17 PM
    is there any docs on this?
  • b

    bright-gpu-74537

    07/20/2022, 8:18 PM
    this is about it: https://github.com/haxeui/haxeui-guides/blob/master/custom-components.md
  • b

    bright-gpu-74537

    07/20/2022, 8:18 PM
    this too maybe: https://github.com/haxeui/haxeui-guides/blob/master/modules.md
  • b

    best-agent-85158

    07/20/2022, 8:20 PM
    so i just create a
    module.xml
    file somewhere in my library and haxeui would find it?
  • b

    bright-gpu-74537

    07/20/2022, 8:20 PM
    yessir
  • b

    big-angle-82801

    07/20/2022, 8:20 PM
    yh, it was just padding on the main view component which I left in by accident
1...117811791180...1687Latest