material-components icon indicating copy to clipboard operation
material-components copied to clipboard

Make Sketch library Backdrop resizable

Open mleonhard opened this issue 6 years ago • 1 comments

Overview

I'm designing the UX of a Flutter app. I downloaded the Design Kit for Sketch from Google's Material Resources page. Our app needs to work well on cheap Android phones with small screens. I wish to use Google's provided Sketch widgets to design for such phones.

The very first widget I tried to use doesn't work for small phone sizes. This ticket is about fixing that widget. The larger problem is to make the entire kit work for small phones.

Reproduction steps

  1. Download Google's provided material-design-stickersheet.sketch file.
  2. Open Sketch and create a new document.
  3. Click the menu Sketch / Preferences.
  4. Click the Libraries icon.
  5. Click the "Add Library" button.
  6. Select the file you downloaded and click Open.
  7. Close the Preferences window.
  8. Click the menu Insert / Artboard. The right-hand panel changes to show artboards.
  9. Click the "Create Custom Size..." button at the bottom of the right-hand panel.
  10. Enter a size of 240x320px. This corresponds to the 2.7" QVGA device type in Android Emulator. It is an mdpi device with a logical screen size of 230x320dp.
  11. Click the menu Insert / Symbols - material-design-stickersheet / Backdrop / 2. Active Front Layer / _Light.
  12. Align the widget with the upper-left corner of the artboard and click to place it.
  13. Resize the widget to fill the artboard.

Expected behavior: The Backdrop widget should maintain its proportions. The icons should maintain their proportions. The top bar should remain thick.

Observed behavior: The icons are flattened. The top bar is too thin.

Screenshot: Screen Shot 2019-10-31 at 16 31 43

Example file: backdrop-not-resizable.sketch.zip

Version number

  • The downloaded file material-design-stickersheet.sketch has no version number. Its SHA-1 digest is d20842107db0282cee376c2ec974278ae1e60c5a.

Operating system and device

MacOS 10.15, Sketch 59.1, Macbook Pro.

mleonhard avatar Oct 31 '19 23:10 mleonhard

The App Bar widget has a similar problem: Removing trailing icons doesn't let the title text use the space. Screen Shot 2019-10-31 at 16 48 37

mleonhard avatar Oct 31 '19 23:10 mleonhard