zj2089 / android-ui-utils

Automatically exported from code.google.com/p/android-ui-utils
1 stars 0 forks source link

Stretch regions in Nine-patch Generator are not accessible if source image was resized to smaller #204

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Open some image and set bounds of stretch regions and/or content padding. 
Foe example 100*100px image, and bottom right point is at 90,90px.
2. Resize original image so it is smaller than right/bottom bound of region. 
ex. 50*50px
3. Open this image in Nine-patch Generator.
4. Try to move bottom/right egde of region. You can't beacuse it is out of 
viewport.

What is the expected output? What do you see instead?
Maybe some "reset" button.

Please provide any additional information below.
Settings are stored in cookies or somewhere else so you can't just reload page 
to make it work.

Original issue reported on code.google.com by CAJ...@gmail.com on 8 Nov 2013 at 9:39

GoogleCodeExporter commented 8 years ago
Do you mean resize the original image and drag it back in? As in, with the same 
filename?

Original comment by romannu...@google.com on 8 Nov 2013 at 4:42

GoogleCodeExporter commented 8 years ago
Yes. My original image was larger that needed, so i decided to cut out central 
part of it. Then saved it with the same name.
Here is an example. Same file name, but for the second screenshot i cropped 
original image down to 128*140 from 200*200

Original comment by CAJ...@gmail.com on 8 Nov 2013 at 5:01

Attachments:

GoogleCodeExporter commented 8 years ago
Got it, will look into it shortly.

Original comment by romannu...@google.com on 8 Nov 2013 at 5:20

GoogleCodeExporter commented 8 years ago

Original comment by romannu...@google.com on 8 Nov 2013 at 5:46