Note that there are some explanatory texts on larger screens.

plurals
  1. POHow to Increase jqGrid toolbar / navbar icon size for visual accessibility?
    primarykey
    data
    text
    <p><p> Here is a requirement that we received, can we increase the size Struts2-jQuery Grid /jQGrid 'Toolbar Icons' ? like Save/Delete/Find/Add etc ? </p> <blockquote> <p>Our users would need visual accessibility in this regard. Is there any solution apart from setting the zoom size of the browser ?</p> </blockquote> <p>Update (How we fixed it): <br><br></p> <p>Step 1: <a href="http://www.tnghardware.com/sandbox/jQueryIconTests/nameTable.html" rel="nofollow">Downloaded</a> a 32px icon sprite grid <br> Step 2: Placed this sprite grid image in the webapp\template\mytheme\images folder <br> Step 3: Updated the <code>jquery-ui.css</code> file (which was generated for our custom theme from ThemeRoller) <br> Step 4: In the ICONS section update the <code>.ui-state-default</code> class to point the new image <br> Step 5: Added <code>width: 16px; height: 16px;</code> properties to the same class <br> Step 6: Adjusted the position in every image classes <br> Step 7: We used image editing tools to compress it's size so that we could make all icons from 32px to 24px and varied the color settings (Hue/Saturation..etc) to get different colors for various UI states.</p> <pre><code> example: Changed .ui-icon-trash { background-position: -176px -96px; } to .ui-icon-trash { background-position: -352px -192px; } </code></pre> <p>This brought the new sized icons.The only challenge we face now is to find a suitable 32px css sprite grid icon image for various states (Active, Default, Hover and Error). <br></p> <p>It would have been great if ThemeRoller has this option to generate icon set of various sizes.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload