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

    purple-businessperson-14467

    12/29/2022, 6:55 AM
    ya
  • b

    bright-gpu-74537

    12/29/2022, 6:55 AM
    doesnt seem to be something that makes sense for the component for general use
  • p

    purple-businessperson-14467

    12/29/2022, 6:56 AM
    agreed. It adds to it but not component worthy
  • b

    bright-gpu-74537

    12/29/2022, 6:57 AM
    well, i mean, i think its app specific, no? I dont think i would want / need the number of components the frame contained for my uses, but it seems like that would make sense for your app
  • p

    purple-businessperson-14467

    12/29/2022, 6:57 AM
    Yes, agreed
  • b

    bright-gpu-74537

    12/29/2022, 6:59 AM
    id be interested to see if these "collapsibles" could just be "collapsible frames" with different style
  • b

    bright-gpu-74537

    12/29/2022, 7:00 AM
    (feels like they could be)
  • p

    purple-businessperson-14467

    12/29/2022, 7:00 AM
    ya, I really liked how my app changed when it was applied
  • b

    bright-gpu-74537

    12/29/2022, 7:01 AM
    yeah, certainly removes alot of the clutter and keeps things "focused"
  • p

    purple-businessperson-14467

    12/29/2022, 7:14 AM
    If you remove icon="haxeui-core/styles/shared/right-arrow-square-dark.png" from the main-view.xml. It no longer works. It seems you need a spacer icon?
  • b

    bright-gpu-74537

    12/29/2022, 7:15 AM
    yeah, i noticed that too... thats because the act of setting the icon also creates it... so without that part the icon (image) is never created, that should go away once frame responds to "icon" css
  • p

    purple-businessperson-14467

    12/29/2022, 7:20 AM
    The css variable $arrow-down-square Is that available in xml? or hx
  • b

    bright-gpu-74537

    12/29/2022, 7:22 AM
    its available anywhere css is available, but it wont work for xml props (like
    icon="$arrow-down-square"
    wont work)
  • b

    bright-gpu-74537

    12/29/2022, 8:06 AM
    you can use icon in frame styles now:
    Copy code
    xml
        <style>
            #testFrame {
                icon: "haxeui-core/styles/default/haxeui_tiny.png";
            }
        </style>
        <frame id="testFrame" width="100" height="100" text="Foo">
    
        </frame>
  • p

    purple-businessperson-14467

    12/29/2022, 8:06 AM
    nice
  • p

    purple-businessperson-14467

    12/29/2022, 8:06 AM
    thank you
  • b

    bright-gpu-74537

    12/29/2022, 8:07 AM
    np, its a good catch, especially for things like collapsible frames
  • p

    purple-businessperson-14467

    12/29/2022, 8:08 AM
    Now I just have to change it so the expander doesnt use the icon. So the icon can be section specific. sigh... 🙂
  • b

    bright-gpu-74537

    12/29/2022, 8:09 AM
    well, i think it needs a "secondary icon" which i was just about to look at
  • b

    bright-gpu-74537

    12/29/2022, 8:10 AM
    however, that one wont be accessible from
    #myFrame { icon: ... }
    , it would be something like
    #myFrame .secondary-icon { resource: ... }
  • b

    bright-gpu-74537

    12/29/2022, 8:10 AM
    ... it does beg the question of how / when it gets created though... 🤔
  • b

    bright-gpu-74537

    12/29/2022, 8:11 AM
    maybe a property "allowSecondaryIcon" ?
  • p

    purple-businessperson-14467

    12/29/2022, 8:12 AM
    that would work. icon collapseIcon ?
  • b

    bright-gpu-74537

    12/29/2022, 8:12 AM
    well, i think collapseIcon is too specific
  • b

    bright-gpu-74537

    12/29/2022, 8:12 AM
    maybe you want to do "something else" in the future with two icons... dunno
  • p

    purple-businessperson-14467

    12/29/2022, 8:13 AM
    Icon:Array
  • p

    purple-businessperson-14467

    12/29/2022, 8:13 AM
    icons....
  • b

    bright-gpu-74537

    12/29/2022, 8:13 AM
    dunno, ill have a think about it... maybe we want a "component box"
  • b

    bright-gpu-74537

    12/29/2022, 8:14 AM
    ... i think we might have discussed this before... ill just have to see if this is getting overly complex for a frame
  • p

    purple-businessperson-14467

    12/29/2022, 8:14 AM
    ya, not sure the concept rolls to other components
1...135813591360...1687Latest