sketchucation logo sketchucation
    • Login
    🛣️ Road Profile Builder | Generate roads, curbs and pavements easily Download

    Icon Sizes

    scheduled pinned locked moved Developers' Forum
    2 Posts 2 Posters 581 Views 2 Watching
    loading-more-posts
    • oldest-to-newest
    • newest-to-oldest
    • most-votes
    reply
    • reply-as-topic
    guest-login-reply
    deleted-message
    • C Offline
      CAUL
      last edited by

      The API documentation recommends 24px for large icons and 16px for small.

      On the other hand, in this old thread 32px is mentioned, and there are plugins with 32px icons in their folders. So, what is the correct sizes for icons?

      one-reply-to-this-post last-reply-time reply quote 0
      • thomthomT Offline
        thomthom
        last edited by

        Originally icons for SU where 24x24 and 16x16. However, when the toolbar system got updated for SU8 on Windows they technically changed to 32x32 and 24x24. When I say "technically" it's because the icons shipped in SU wasn't visually larger. They just got updated with extra white-space padding.

        The API layer automatically applied padding to smaller icons.

        Now, since then my history is a bit fuzzy. I don't recall if out icons now are actually larger. But you could, via the API make a small icon fill out a full 24x24 size. But you should check if the outer edge might overlap with some of the button borders. Verify that they look similar to the rest of the toolbar icons in SU.

        Also, I observed recently on OSX that different sizes will might look fuzzy on a low-res monitor. I think the larger icons looks better in the main OSX toolbar, but will look blurred in the floating toolbar.

        Thomas Thomassen — SketchUp Monkey & Coding addict
        List of my plugins and link to the CookieWare fund

        one-reply-to-this-post last-reply-time reply quote 0
        • 1 / 1
        • first-post
          last-post
        Buy SketchPlus
        Buy SUbD
        Buy WrapR
        Buy eBook
        Buy Modelur
        Buy Vertex Tools
        Buy SketchCuisine
        Buy FormFonts

        Advertisement