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

    bright-gpu-74537

    06/12/2020, 10:18 AM
    and how did you get style to map to customStyle (out of curiosity as i have no idea how coconut does things)
  • c

    cool-psychiatrist-49311

    06/12/2020, 10:19 AM
    this is hxx magic, I can use a meta to change an attribute's "display" name (
    style
    in this case)
  • b

    bright-gpu-74537

    06/12/2020, 10:20 AM
    right, where is the meta added? on your render function?
  • c

    cool-psychiatrist-49311

    06/12/2020, 10:21 AM
    https://github.com/MVCoconut/coconut.haxeui/commit/9ca06a8e5b5c9c5dbc3dc6d9b293788b7617a3b7
  • b

    bright-gpu-74537

    06/12/2020, 10:21 AM
    gotcha
  • c

    cool-psychiatrist-49311

    06/12/2020, 10:22 AM
    hxx augments haxeui components by adding a
    static function fromHxx(attr, children)
  • c

    cool-psychiatrist-49311

    06/12/2020, 10:22 AM
    and the type of
    attr
    is a macro-built
    TDStructure
  • c

    cool-psychiatrist-49311

    06/12/2020, 10:23 AM
    so it looks like this
    {@:hxx(style) var customStyle:Style; // more attrs...}
  • b

    bright-gpu-74537

    06/12/2020, 10:24 AM
    ok, gotcha, makes sense
  • c

    cool-psychiatrist-49311

    06/12/2020, 10:28 AM
    oh turns out
    vbox.customStyle.width = value
    has no effect, I have to do
    vbox.width = value
    instead
  • c

    cool-psychiatrist-49311

    06/12/2020, 10:28 AM
    not sure if this counts as a bug
  • b

    bright-gpu-74537

    06/12/2020, 10:30 AM
    sounds like a bug
  • b

    bright-gpu-74537

    06/12/2020, 10:32 AM
    seems to work here though: http://haxeui.org/builder/?zddhcv
  • c

    cool-psychiatrist-49311

    06/12/2020, 10:32 AM
    yeah works initially, but not in subsequent changes
  • b

    bright-gpu-74537

    06/12/2020, 10:32 AM
    oh
  • b

    bright-gpu-74537

    06/12/2020, 10:33 AM
    then pretty sure its a bug then
  • b

    bright-gpu-74537

    06/12/2020, 10:33 AM
    can you open an issue with a minimal test (if you have time).... ill check it out...
  • b

    bright-gpu-74537

    06/12/2020, 10:34 AM
    whoops! meetings!
  • b

    bright-gpu-74537

    06/12/2020, 10:34 AM
    😄
  • c

    cool-psychiatrist-49311

    06/12/2020, 10:34 AM
    sure
  • c

    cool-psychiatrist-49311

    06/12/2020, 1:02 PM
    On mac, two finger scrolling on LIstView is reversed...
  • b

    bright-yak-48460

    06/12/2020, 1:21 PM
    Seen as 2 different mouse inputs before a mouse up maybe?
  • c

    cool-psychiatrist-49311

    06/12/2020, 2:18 PM
    I mean on mac two finger swiping upwards is equivalent to a mouse wheel scroll down. But I am seeing a swipe-up -> scroll up behaviour
  • c

    cool-psychiatrist-49311

    06/12/2020, 2:18 PM
    hmm looks like this is a hashlink problem heaps-js is correct, but heaps-hl is not
  • b

    bright-gpu-74537

    06/12/2020, 4:01 PM
    thats weird - i guess the hl and js sent different mouse wheel event deltas
  • b

    bright-gpu-74537

    06/12/2020, 4:01 PM
    im assuming its a mouse wheel event anyway
  • c

    clever-oil-61353

    06/13/2020, 5:39 AM
    those dang windows users and their hl
  • c

    clever-oil-61353

    06/13/2020, 5:39 AM
    🙂
  • b

    bright-gpu-74537

    06/13/2020, 5:52 AM
    🙂
  • f

    faint-answer-24569

    06/13/2020, 5:59 AM
    🙂
1...277278279...1687Latest