Uploaded image for project: 'ZK'
  1. ZK
  2. ZK-4631

Add option to choose toolbar overflow icon

XMLWordPrintable

    • Icon: New Feature New Feature
    • Resolution: Done
    • Icon: Normal Normal
    • 9.6.0
    • 9.1.0
    • None
    • Security Level: Jimmy
    • None

      Steps to Reproduce

       run fiddle in iceblue:

      https://zkfiddle.org/sample/19s0qi9/1-toolbar-overflow-popup

      Current Result

      To change the toolbar icon, this sample use a custom sclass and redefine the icon content

      Expected Result

       

       <toolbar overflowIconSclass="z-icon-home" >

       

      Debug Information

      • At the time we implement this feature, if zk drops IE 11, we can implement this with CSS custom properties
         

        Workaround

      use css to replace the icon manually

       

        <style>
          .custom-icon .z-toolbar-overflowpopup-button:before{
              content: '\f0c9'; //charcode for the menu icon (from font-awesome icon list)
          }
        </style>
      

       

            katherinelin katherinelin
            MDuchemin MDuchemin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 1 day
                1d
                Remaining:
                Remaining Estimate - 1 day
                1d
                Logged:
                Time Spent - Not Specified
                Not Specified