jdorn / json-editor

JSON Schema Based Editor
MIT License
5.8k stars 1.08k forks source link

Use icon buttons #65

Closed jdorn closed 10 years ago

jdorn commented 10 years ago

The buttons in JSON Editor are all text right now and can get really long (especially in the table editor). We should use icon buttons instead of text buttons when possible.

Add the following initialization option:

Add a $.jsoneditor.icons property to override the default.

Create a $.jsoneditor.AbstractIconTheme class with methods like getMoveDownIcon.

Support the following icon libraries:

Add a parameter to the theme methods getButton and setButtonText to accept an icon.

jdorn commented 10 years ago

Added all icon libraries except for "symbolset" since it's not open source and doesn't have 1 definitive list of icons.