31

My Sketch delight of the day.

over 7 years ago from , Product Designer

I'm fairly new to using Sketch, but I've been enjoying it for some recent UI designs.

Just today, I was working on a mobile app design that requires a progress bar at the top of the screen for a 5 step process.

When setting the shape width of the progress bar, I tried typing 640 (device width) / 5 (steps in process) - AND IT WORKED. It led to an early morning fist pump from me, so I thought I'd share that little trick for anyone that didn't know about it.

37 comments

  • Mattan IngramMattan Ingram, over 7 years ago

    Wait, can you not do this in Photoshop? It's standard in Illustrator. I do not get Photoshop's appeal.

    4 points
    • Ryan Hicks, over 7 years ago

      Learn to use it for the right job and it's VERY appealing. Especially with the new updates from yesterday.

      6 points
      • Marcus H, over 7 years ago

        Which new updates?, mine is still version 3.0.3

        1 point
      • Mattan IngramMattan Ingram, over 7 years ago

        The right job for Photoshop is shopping photos.

        If I am going to build an interface, I will use Sketch or Illustrator. Something that at least has artboards.

        Unfortunately whenever I critique Photoshop here people get their panties in a twist. They demand that the tool doesn't matter, only the designer!

        0 points
        • Ryan Hicks, over 7 years ago

          Well good for you buddy. Continue doing what makes you and your workflow happy.

          0 points
          • Mattan IngramMattan Ingram, over 7 years ago

            See, I don't get this attitude.

            There are objective ways a workflow can be improved, one of which is the tools you use. Yet whenever I bring that up people get snappy.

            0 points
            • Ryan Hicks, over 7 years ago

              It's your own attitude in the way.

              0 points
              • Mattan IngramMattan Ingram, over 7 years ago (edited over 7 years ago )

                How so?

                Is it bad form to dislike a tool, particularly when you have objective reasons to back it up? Further is it bad form to advocate other designers discover faster and better tools to do amazing work with?

                When someone critiques the tools I use, I don't attack them, I listen with an open mind and learn how I can improve my process. However I forget I am on the internet, that is the norm.

                0 points
    • Nathan NNathan N, over 7 years ago (edited over 7 years ago )

      Wait, can you not do this in Photoshop?

      You can align and distribute in Photoshop CC.

      I do not get Photoshop's appeal.

      It works seamlessly with all of CC & is the industry standard photo editing tool...

      8 points
      • Mattan IngramMattan Ingram, over 7 years ago

        I meant for UI/UX work. Photoshop is amazing for photo editing.

        I get that everyone uses it for everything, but that strikes me as crazy. I would much rather use Sketch or Illustrator to build interfaces or mockups.

        But then people yell at me that it's about the designer and not the tool (and I ask them if they would eat soup with a fork).

        0 points
  • Matt FloresMatt Flores, over 7 years ago

    You can also use parantheses, which is super cool.

    (640/5)+20

    3 points
  • Clark WimberlyClark Wimberly, over 7 years ago (edited over 7 years ago )

    Also, this definitely isn't "hidden" or anything, but having never used Fireworks (or really Illustrator much) I'm finding Arrange > Distribute to be ridiculously useful.

    2 points
  • Marc EdwardsMarc Edwards, over 7 years ago

    I don’t want to sound like an old man, but QuarkXpress had this decades ago. :D Strangely, Illustrator does, but Photoshop doesn’t. Not sure why. It seems like table stakes for a design tool.

    1 point
  • David BlumDavid Blum, over 7 years ago

    This is standard in Adobes Apps.

    1 point
  • Brandon JacobyBrandon Jacoby, over 7 years ago

    Awesome find! Thanks for sharing Kyle!

    1 point
  • Shea LewisShea Lewis, over 7 years ago

    I dont think I fully understand. Can you add a screenshot?

    1 point
    • Clark WimberlyClark Wimberly, over 7 years ago

      He's saying you can type in math. You know that the space is 700px wide and you've got 8 elements going in? Set the width to 700/8 and let Sketch do the math.

      4 points
    • Account deleted over 7 years ago

      9 points
      • Kyle Case, over 7 years ago (edited over 7 years ago )

        Thanks for adding the visual, I'm not always the greatest at using my words.

        0 points
  • David KizlerDavid Kizler, over 7 years ago

    Great tip. And after you do the math and drag one copy to the next place in line, simply press COMMAND+D until the rest of the rectangles are perfectly lined up:

    math-in-sketch

    I just discovered licecap today, so pardon my excitement for animated gifs.

    0 points
  • Corin EdwardsCorin Edwards, over 7 years ago

    I had no idea either sketch or illustrator could do this. Cheers all for the heads up.

    0 points
  • Diego LafuenteDiego Lafuente, over 7 years ago

    I found out you can do these things in Illustrator too. For shapes and typography too.

    0 points
  • Bennett WongBennett Wong, over 7 years ago

    Illustrator has always had math handling in input boxes.

    0 points
  • Jéferson MatanaJéferson Matana, over 7 years ago

    in this case I would set the width to 20%, which would generate the same result.

    0 points
  • Joseph KeenanJoseph Keenan, over 7 years ago

    So so so useful.

    Like Illustrator, Indesign has had this for a long long time now. With all the nice touches released in yesterday’s Photoshop update, I’d hoped they’d maybe finally implemented it across the board, but, alas, no sign of it.

    0 points
  • Ken BarloKen Barlo, over 7 years ago

    Been using Sketch for about a year, found this gem about 2 months ago and been loving it since! So useful!!

    0 points
  • Khaled Islam BouyaKhaled Islam Bouya, over 7 years ago

    This is really useful! Thanks for sharing.

    0 points
  • Jenny MaJenny Ma, over 7 years ago

    This is awesome, wow. Sweet discovery

    0 points
  • Vincenzo Petito, over 7 years ago

    Awesome man! Thank's for sharing!

    0 points
  • Clark WimberlyClark Wimberly, over 7 years ago

    Jeez, good find man. Been using it for like a year and didn't know it could do this.

    0 points