HISE Logo Forum
    • Categories
    • Register
    • Login

    LAF "drawComboBox" isPopupActive should be a separate property

    Scheduled Pinned Locked Moved Feature Requests
    2 Posts 1 Posters 219 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • jonhallurJ
      jonhallur
      last edited by

      From the HISE code

      obj->setProperty("hover", cb.isMouseOver(true) || cb.isMouseButtonDown(true) || cb.isPopupActive());
      

      isPopupActive should really be it's own property.

      Use-case: So many UI designs have a triangle that rotates when combo box is open.

      jonhallurJ 1 Reply Last reply Reply Quote 0
      • jonhallurJ
        jonhallur @jonhallur
        last edited by

        @jonhallur obj.enabled property is also not just the enabled property

        obj->setProperty("enabled", cb.isEnabled() && cb.getNumItems() > 0);
        
        1 Reply Last reply Reply Quote 0
        • First post
          Last post

        25

        Online

        1.7k

        Users

        11.9k

        Topics

        103.7k

        Posts