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

    bright-gpu-74537

    02/14/2023, 9:06 PM
    VBox, or whatever component you want as your root for that component... what does your "window.xml" contain?
  • b

    bumpy-engineer-49082

    02/14/2023, 9:10 PM
    Example code.
  • b

    bright-gpu-74537

    02/14/2023, 9:11 PM
    well, i mean, can i see it 😄
  • b

    bright-gpu-74537

    02/14/2023, 9:11 PM
    is it a
    <vbox>
    ?
  • b

    bumpy-engineer-49082

    02/14/2023, 9:37 PM
    Yes.
  • b

    bright-gpu-74537

    02/14/2023, 9:37 PM
    so
    extends VBox
    instead of
    extends View
  • b

    bumpy-engineer-49082

    02/14/2023, 9:37 PM
    huh
  • b

    bright-gpu-74537

    02/14/2023, 9:41 PM
    i mean, you need to import VBox also... these arent really haxeui questions, i think you are a little stuck with programming maybe?
  • b

    bright-gpu-74537

    02/14/2023, 9:43 PM
    the errors are right there in your terminal 🙂
  • a

    ambitious-knife-25690

    02/14/2023, 11:42 PM
    could this be handled in a backend or is this a haxeui-core thing
  • a

    ambitious-knife-25690

    02/14/2023, 11:43 PM
    (changing cwd for the build macro)
  • a

    ambitious-knife-25690

    02/14/2023, 11:44 PM
    i wouldn't mind experimenting with this and seeing if i could figure out a solution
  • a

    ambitious-knife-25690

    02/14/2023, 11:44 PM
    I think it would be a nice qol improvement for all backends
  • a

    ambitious-knife-25690

    02/14/2023, 11:44 PM
    (assuming you agree)
  • b

    bright-gpu-74537

    02/15/2023, 8:00 AM
    i think it could be a
    -D
    (and then the backend could use an extraParams.hxml)
  • b

    bright-gpu-74537

    02/15/2023, 8:01 AM
    having it as a flag makes it more flexible i think, and also means we dont have to worry about when it gets set, its always set (or not at all)
  • e

    early-butcher-76809

    02/15/2023, 9:59 AM
    Hey, mate, how do you change the page of this bot ? it reads Page 1/2 but I haven't figured out how to go to the 2nd :(
  • e

    early-butcher-76809

    02/15/2023, 12:48 PM
    Alright, after some time : I still have the issue of no layout if I enable compilation server, from time to time. The build time hasn't changed much if don't enable it (still 5-6 more sec, doubling the duration) :(
  • a

    ambitious-knife-25690

    02/15/2023, 12:53 PM
    ahh, you gotta recall the command - you can call it again in #663246792426782730
  • e

    early-butcher-76809

    02/15/2023, 12:53 PM
    Thank you <3
  • a

    ambitious-knife-25690

    02/15/2023, 12:53 PM
    essentially, because of the way the discord api works - to have the buttons work I have to keep a reference to them at all times
  • a

    ambitious-knife-25690

    02/15/2023, 12:54 PM
    so i timeout the buttons after a period of inactivity otherwise if i restart the bot or something it causes issues
  • b

    bright-gpu-74537

    02/15/2023, 1:34 PM
    ok, ill take a look at some point... i guess i could turn off my compilation server and see how things go
  • e

    early-butcher-76809

    02/15/2023, 1:34 PM
    Turn on, you mean ? Yours is probably already off :P
  • b

    bright-gpu-74537

    02/15/2023, 1:35 PM
    sorry, yeah, turn on 🙂
  • b

    billions-carpenter-3485

    02/15/2023, 2:25 PM
    and yes haxeui-winform is not broken :P
  • b

    billions-carpenter-3485

    02/15/2023, 2:26 PM
    only some warnings:
    Copy code
    C:\HaxeToolkit\haxe\lib\haxeui-winforms/1,5,0/haxe/ui/backend/ComponentImpl.hx:39: characters 20-63 : Warning : Std.is is deprecated. Use Std.isOfType instead.
    C:\HaxeToolkit\haxe\lib\haxeui-winforms/1,5,0/haxe/ui/backend/ComponentImpl.hx:93: characters 17-35 : Warning : Std.is is deprecated. Use Std.isOfType instead.
    C:\HaxeToolkit\haxe\lib\haxeui-winforms/1,5,0/haxe/ui/backend/ComponentImpl.hx:230: characters 17-31 : Warning : Std.is is deprecated. Use Std.isOfType instead.
    C:\HaxeToolkit\haxe\lib\haxeui-winforms/1,5,0/haxe/ui/backend/winforms/behaviours/ProgressBarMarquee.hx:21: characters 13-52 : Warning : Std.is is deprecated. Use Std.isOfType 
    instead.
    C:\HaxeToolkit\haxe\lib\haxeui-core/1,5,0/haxe/ui/core/Component.hx:748: characters 21-26 : Warning : Type haxe.ui.core.Component is being cast to the unrelated type findComponent.T
    C:\HaxeToolkit\haxe\lib\haxeui-core/1,5,0/haxe/ui/core/Component.hx:818: characters 21-26 : Warning : Type haxe.ui.core.Component is being cast to the unrelated type findAncestor.T
    C:\HaxeToolkit\haxe\lib\haxeui-core/1,5,0/haxe/ui/components/DropDown.hx:103: characters 22-52 : Warning : Type haxe.ui.data.ArrayDataSource is being cast to the unrelated type haxe.ui.data.DataSource<{ }>
    C:\HaxeToolkit\haxe\lib\haxeui-core/1,5,0/haxe/ui/containers/ListView.hx:443: characters 22-52 : Warning : Type haxe.ui.data.ArrayDataSource is being cast to the unrelated type haxe.ui.data.DataSource<{ }>
  • b

    billions-carpenter-3485

    02/15/2023, 2:28 PM
    Only with macros?
  • a

    ambitious-knife-25690

    02/15/2023, 2:31 PM
    ahh, looks like you're not using the latest haxeui-core
  • a

    ambitious-knife-25690

    02/15/2023, 2:31 PM
    so likely will be broken if you updated to the latest stuff
1...151615171518...1687Latest