HISE Logo Forum
    • Categories
    • Register
    • Login

    HISE CSS Syntax

    Scheduled Pinned Locked Moved Unsolved Scripting
    6 Posts 4 Posters 193 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.
    • clevername27C
      clevername27
      last edited by

      Does anyone know why this HISE syntax isn't correct?

      const var panel_HOME_nav_theplayer_title_ART = Content.getComponent("panel_HOME_nav_theplayer_title_ART");
      
      const var laf_cssShadowMaker = Content.createLocalLookAndFeel();
      
      laf_cssShadowMaker.setStyleSheet("main.css");
      
      panel_HOME_nav_transformer_title_ART.setStyleSheetClass(".class_standardShadow");
      

      And then, "main.css" is…

      .class_standardShadow {
          box-shadow: 5px 5px 15px rgba(0,0,0,0.3);
      }
      
      Christoph HartC orangeO 2 Replies Last reply Reply Quote 0
      • clevername27C clevername27 marked this topic as a question on
      • Christoph HartC
        Christoph Hart @clevername27
        last edited by

        @clevername27 oopsies, forgot to accept _ in a CSS identifier. Fixed now.

        clevername27C 1 Reply Last reply Reply Quote 3
        • orangeO
          orange @clevername27
          last edited by

          @clevername27 Laf & CSS can be combined now?

          develop Branch / XCode 13.1
          macOS Monterey / M1 Max

          d.healeyD 1 Reply Last reply Reply Quote 0
          • d.healeyD
            d.healey @orange
            last edited by

            @orange Yes - https://forum.hise.audio/topic/12043/how-to-disable-viewport-table-row-selection/7?_=1742227709665

            Libre Wave - Freedom respecting instruments and effects
            My Patreon - HISE tutorials
            YouTube Channel - Public HISE tutorials

            orangeO 1 Reply Last reply Reply Quote 1
            • orangeO
              orange @d.healey
              last edited by orange

              alt text

              develop Branch / XCode 13.1
              macOS Monterey / M1 Max

              1 Reply Last reply Reply Quote 0
              • clevername27C
                clevername27 @Christoph Hart
                last edited by

                @Christoph-Hart cheers, mate.

                1 Reply Last reply Reply Quote 0
                • clevername27C clevername27 has marked this topic as solved on
                • clevername27C clevername27 has marked this topic as unsolved on
                • First post
                  Last post

                24

                Online

                1.8k

                Users

                12.0k

                Topics

                104.0k

                Posts