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

    bright-gpu-74537

    02/27/2023, 5:44 PM
    i mean, thats a hunch
  • a

    ambitious-knife-25690

    02/27/2023, 5:46 PM
    hmm, all I need to do is add a directory
    _module\styles\default\main.css
    ?
  • a

    ambitious-knife-25690

    02/27/2023, 5:46 PM
    don't need to mention it anywhere?
  • b

    bright-gpu-74537

    02/27/2023, 5:46 PM
    you do yeah, in a module.xml
  • b

    bright-gpu-74537

    02/27/2023, 5:47 PM
    https://github.com/haxeui/haxeui-heaps/blob/master/haxe/ui/backend/module.xml
  • a

    ambitious-knife-25690

    02/27/2023, 5:47 PM
    ahh there it is
  • b

    bright-gpu-74537

    02/27/2023, 5:47 PM
    you probably dont really care about the default / dark overrides, i would just whack in a style
  • a

    ambitious-knife-25690

    02/27/2023, 5:48 PM
    nice, that was my next question 😄
  • b

    bright-gpu-74537

    02/27/2023, 5:48 PM
    (global gets applied regardless of what theme is used)
  • a

    ambitious-knife-25690

    02/27/2023, 5:49 PM
    Copy code
    css
    .label {
        font-size: 12px;
    }
  • b

    bright-gpu-74537

    02/27/2023, 5:49 PM
    that should do it
  • a

    ambitious-knife-25690

    02/27/2023, 5:49 PM
    makes no difference on text size 🤔
  • b

    bright-gpu-74537

    02/27/2023, 5:50 PM
    you sure you ref'd the resources correctly, etc?
  • b

    bright-gpu-74537

    02/27/2023, 5:50 PM
    what about
    Copy code
    .label {
        font-size: 12px;
        color: red;
    }
  • a

    ambitious-knife-25690

    02/27/2023, 5:51 PM
    ahhh i didn't add resources
  • b

    bright-gpu-74537

    02/27/2023, 5:52 PM
    haxeui has some magic, but not that much magic 😄
  • a

    ambitious-knife-25690

    02/27/2023, 5:54 PM
    12px/14px/16px
  • b

    bright-gpu-74537

    02/27/2023, 5:55 PM
    really hard to tell without fullsize image, but i would guess 12px
  • a

    ambitious-knife-25690

    02/27/2023, 5:55 PM
    it'll give you the full image there
  • b

    bright-gpu-74537

    02/27/2023, 6:16 PM
    i think that size probably, whatever that is
  • a

    ambitious-knife-25690

    02/27/2023, 6:19 PM
    12px
  • a

    ambitious-knife-25690

    02/27/2023, 6:30 PM
    sad
  • a

    ambitious-knife-25690

    02/27/2023, 6:30 PM
    copy pasted the employee app
  • a

    ambitious-knife-25690

    02/27/2023, 6:30 PM
    but images defo work lol
  • a

    ambitious-knife-25690

    02/27/2023, 6:30 PM
    can't expand the tree oddly enough
  • a

    ambitious-knife-25690

    02/27/2023, 6:31 PM
    or click on anything
  • b

    bright-gpu-74537

    02/27/2023, 6:32 PM
    still some work to do then i guess... you have the right idea though, copy over some examples from the component explorer
  • b

    bright-gpu-74537

    02/27/2023, 6:33 PM
    in other news, image loading is now extensible, core comes with "the usual suspects" out the box (from core module.xml):
  • b

    bright-gpu-74537

    02/27/2023, 6:33 PM
    Copy code
    xml
        <loaders>
            <image-loaders>
                <image-loader prefix="asset" class="haxe.ui.loaders.image.AssetImageLoader" default="true" singleInstance="true" />
                <image-loader prefix="file" class="haxe.ui.loaders.image.FileImageLoader" singleInstance="true" />
                <image-loader prefix="http" class="haxe.ui.loaders.image.HttpImageLoader" />
                <image-loader prefix="https" class="haxe.ui.loaders.image.HttpImageLoader" />
            </image-loaders>
        </loaders>
  • a

    ambitious-knife-25690

    02/27/2023, 7:52 PM
    what would cause that "blinking" effect in the top left corner?
1...154715481549...1687Latest