Uploaded image for project: 'Keikai'
  1. Keikai
  2. KEIKAI-169

Toolbar supports iconSclass

XMLWordPrintable

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

      Use Case

      Since ZK 9 bundles Font Awesome 4.7 icons by default, it's better to provide a convenient way to add Font Awesome icons easily like setIconSclass(). ZK LabelImageElement/Toolbarbutton already supports such API.

      So that application developers can have lots of built-in icons to use, no need to create or hunt from the web. For example,

      ToolbarButton.Builder.create(ACTION_KEY).withIconSclass("z-icon-paperclip").withTooltip("attach file").withLabel("attach").build()
      

            wenninghsu wenninghsu
            hawk hawk
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: