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

    powerful-garden-79363

    02/28/2023, 10:49 AM
    looks like its fine now
  • b

    bright-gpu-74537

    02/28/2023, 10:50 AM
    el viola! 🙂
  • a

    ambitious-knife-25690

    02/28/2023, 11:13 AM
    😩 I'll have another stab at clipping a bit later
  • p

    powerful-garden-79363

    02/28/2023, 1:18 PM
    also i forgot to say thank you 💀
  • p

    powerful-garden-79363

    02/28/2023, 1:18 PM
    so thanks
  • h

    hallowed-ocean-84954

    02/28/2023, 1:55 PM
    cool - thanx - just what I need
  • h

    hallowed-ocean-84954

    02/28/2023, 2:19 PM
    and if I wanted this for an attribute rather than an element is there a way to do that ? My example case is I want an element there but disabled so I can put a tooltip on it explaining which target is required
  • b

    bright-gpu-74537

    02/28/2023, 2:20 PM
    no, thats not going to work, im not even sure how that would look in xml, you would have to either duplicate the block or do something in code
  • b

    bright-gpu-74537

    02/28/2023, 2:21 PM
    keep in mind that this condition stuff happens at the parsing / macro level, so if your "if" (or unless) doesnt evaluate to true, then its as if that node never existed in the xml
  • a

    ambitious-knife-25690

    02/28/2023, 2:24 PM
    @bright-gpu-74537 thoughts on this result?
  • b

    bright-gpu-74537

    02/28/2023, 2:25 PM
    the main issue with that one as far as i can see is that in the last example all the children (ie, the button too) should have the same opacity
  • h

    hallowed-ocean-84954

    02/28/2023, 2:28 PM
    ok - yeah may resort to duplication - will think about it - thanx
  • a

    ambitious-knife-25690

    02/28/2023, 2:28 PM
    yeah, i think there are 2 pretty major issues: clipping and depth
  • a

    ambitious-knife-25690

    02/28/2023, 2:28 PM
    both finnicky 😂
  • b

    bright-gpu-74537

    02/28/2023, 2:31 PM
    maybe this is a better example for opacity: http://haxeui.org/builder/?53f6d479
  • a

    ambitious-knife-25690

    02/28/2023, 2:35 PM
    lol
  • a

    ambitious-knife-25690

    02/28/2023, 2:36 PM
    depth issues
  • a

    ambitious-knife-25690

    02/28/2023, 3:08 PM
    hell yeah, looking good 😄
  • a

    ambitious-knife-25690

    02/28/2023, 3:08 PM
    oh no, the gif made it look bad!
  • a

    ambitious-knife-25690

    02/28/2023, 3:21 PM
    eyy aside from (i think) the clipping issue there
  • a

    ambitious-knife-25690

    02/28/2023, 3:21 PM
    notifications now look like they render correctly
  • b

    bright-gpu-74537

    02/28/2023, 4:04 PM
    nice, this looks right
  • b

    bright-gpu-74537

    02/28/2023, 4:04 PM
    does that list fade in / out also work?
  • b

    bright-gpu-74537

    02/28/2023, 4:05 PM
    your labels are also measuring text incorrectly, i guess the text component in ceramic comes with some default size or something
  • b

    bright-gpu-74537

    02/28/2023, 4:15 PM
    http://haxeui.org/builder/?ffc4d4fd
  • a

    ambitious-knife-25690

    02/28/2023, 4:19 PM
    i think it is fading properly now
  • a

    ambitious-knife-25690

    02/28/2023, 4:20 PM
    ah, in gif form the fade is clearer than it actually looks like in app lol
  • a

    ambitious-knife-25690

    02/28/2023, 4:23 PM
    this is a weird one, i think the way i've got it setup currently is to take text measurements from ceramic
  • a

    ambitious-knife-25690

    02/28/2023, 4:24 PM
    Copy code
    hx
        private override function validateDisplay() {
            if (visual.width != _width) {
                visual.width = _width;
            }
    
            if (visual.height != _height) {
                visual.height = _height;
            }
        }
  • a

    ambitious-knife-25690

    02/28/2023, 4:24 PM
    Oh, i'm not 🤔
1...155215531554...1687Latest