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

    billowy-waiter-28954

    01/26/2023, 7:41 PM
    Ctrl+a works too
  • b

    billowy-waiter-28954

    01/26/2023, 7:42 PM
    Shift home/end is easy to add
  • b

    bright-gpu-74537

    01/26/2023, 7:42 PM
    not for me, or at least the demo NotBilly sent a while back (ctrl + a i mean)
  • a

    ambitious-knife-25690

    01/26/2023, 7:42 PM
    but anyway, i hope you didn't take my idea as distaste towards ceramic's textbox
  • a

    ambitious-knife-25690

    01/26/2023, 7:43 PM
    i was only thinking about unifying the wide haxeui users into a common component 😆
  • b

    billowy-waiter-28954

    01/26/2023, 7:43 PM
    Yes maybe it needs some more code to enable all features
  • b

    billowy-waiter-28954

    01/26/2023, 7:44 PM
    Will have to take a look (and probably add a new sample project on ceramic website)
  • a

    ambitious-knife-25690

    01/26/2023, 7:45 PM
    if
    ctrl
    +
    c
    works, would you expect
    ctrl+a
    to work?
  • b

    billowy-waiter-28954

    01/26/2023, 7:45 PM
    But the features are there, already using them with the elements plugin immediate gui
  • b

    bright-gpu-74537

    01/26/2023, 7:46 PM
    yeah, i think adding new "standard" key shortcuts is pretty trivial tbh (not that ive seen the code, but im guessing so at least)... selection and scrolling / clipping / culling was more complex (for me at least)
  • a

    ambitious-knife-25690

    01/26/2023, 7:46 PM
    but anyways, i'm still avoiding clipping atm and doing other smaller things until i want to retackle that nuisance 😆
  • e

    elegant-twilight-61392

    01/26/2023, 8:07 PM
    Copy code
    /home/leotomas/haxe/haxelib/haxeui-core/git/haxe/ui/core/ComponentContainer.hx:13: characters 1-8 : Field get_tooltip should be declared with 'override' since it is inherited from superclass haxe.ui.core.ComponentCommon
    /home/leotomas/haxe/haxelib/haxeui-core/git/haxe/ui/core/ComponentContainer.hx:15: lines 15-265 : ... Defined in this class
    /home/leotomas/haxe/haxelib/haxeui-core/git/haxe/ui/core/ComponentContainer.hx:13: characters 1-8 : Field get_tooltip overrides parent class with different or incomplete type
    /home/leotomas/haxe/haxelib/haxeui-core/git/haxe/ui/core/ComponentContainer.hx:15: lines 15-265 : ... Defined in this class
    bindings/godot/Control.hx:1159: characters 18-29 : ... Base field is defined here
    /home/leotomas/haxe/haxelib/haxeui-core/git/haxe/ui/core/ComponentContainer.hx:13: characters 1-8 : ... Different number of function arguments
    /home/leotomas/haxe/haxelib/haxeui-core/git/haxe/ui/core/Component.hx:1018: characters 21-25 : Field hide should be declared with 'override' since it is inherited from superclass haxe.ui.backend.ComponentImpl
    /home/leotomas/haxe/haxelib/haxeui-core/git/haxe/ui/core/Component.hx:1064: characters 21-25 : Field show should be declared with 'override' since it is inherited from superclass haxe.ui.backend.ComponentImpl
    scons: *** [bin/libHxGodot-debug.a] Error 1
    scons: building terminated because of errors.
    â˜šī¸
  • e

    elegant-twilight-61392

    01/26/2023, 8:08 PM
    godot nodes have a lot going on
  • b

    bright-gpu-74537

    01/26/2023, 8:08 PM
    then you might have to go back to composition
  • b

    bright-gpu-74537

    01/26/2023, 8:09 PM
    might be safer... im guessing godot node has a "tooltip" prop?
  • e

    elegant-twilight-61392

    01/26/2023, 8:09 PM
    i think thats from
    Control
    specifically
  • e

    elegant-twilight-61392

    01/26/2023, 8:09 PM
    but
    show
    and
    hide
    are on all `CanvasItem`s
  • b

    bright-gpu-74537

    01/26/2023, 8:09 PM
    yeah, and show / hide, etc
  • b

    bright-gpu-74537

    01/26/2023, 8:10 PM
    so yeah, you'll probably need to go back to the member var method
  • e

    elegant-twilight-61392

    01/26/2023, 8:13 PM
    wait
  • e

    elegant-twilight-61392

    01/26/2023, 8:14 PM
    could
    ComponentSurface
    be an abstract over the godot node and forward everything except show() and hide()
  • a

    ambitious-knife-25690

    01/26/2023, 8:14 PM
    you could try it, but, i suspect it would still error cause the compilation would still have conflicts
  • a

    ambitious-knife-25690

    01/26/2023, 8:14 PM
    both frameworks would use their respective definitions
  • b

    bright-gpu-74537

    01/26/2023, 8:15 PM
    yeah, the conflict is valid
  • a

    ambitious-knife-25690

    01/26/2023, 8:17 PM
    what would be the likely place to sort out my text centering issue?
  • b

    bright-gpu-74537

    01/26/2023, 8:18 PM
    i guess your text align isnt working.. in a button the text is a full width label with
    text-align:center
  • a

    ambitious-knife-25690

    01/26/2023, 8:18 PM
    oh, would that be handled in style?
  • a

    ambitious-knife-25690

    01/26/2023, 8:18 PM
    I don't think i set that up!
  • b

    bright-gpu-74537

    01/26/2023, 8:18 PM
    applyStyle (or whatever its called) of textdisplayimpl.hx
  • a

    ambitious-knife-25690

    01/26/2023, 8:19 PM
    nvm, i did
1...142114221423...1687Latest