-
13 Apr 2012 2:48 PM #1
"no image found" sets width and height to 201
"no image found" sets width and height to 201
Steps:
1. New project.
2. Drop a toolbar or any container (tested with toolbar and window).
3. Drop an image in that container.
4. Set any value in src.
5. Set width ot height to any value say 50, SD reverts to 201, the size of the "no image found" image of SD.
Built 374.
Regards.UI: Sencha Architect 2.x / ExtJS 4 MVC
Server side: EJB 3.1 / CDI / JPA 2 / JAX-RS / JasperReports
Application Server: Glassfish 3.1.x
Databases: Oracle 10g & 11g / DB2 9 & 10 / Firebird 2.5
If you like my answer please vote!
-
15 Apr 2012 10:00 AM #2
This bug starts to be annoting because any image which SD cant load is generated with such dimensions.
The only work arround I found for now is to set full URL in src but defenitely not a good practrice.
Luckly seems that this only affects img and not buttons's icons.
Regards.UI: Sencha Architect 2.x / ExtJS 4 MVC
Server side: EJB 3.1 / CDI / JPA 2 / JAX-RS / JasperReports
Application Server: Glassfish 3.1.x
Databases: Oracle 10g & 11g / DB2 9 & 10 / Firebird 2.5
If you like my answer please vote!
-
17 Apr 2012 8:54 AM #3
I can confirm that this is not fixed in 410. Upon any reload of designer, my image's width and height is set back to the dimensions of the actual image (or 201/201 if the url is dynamic). Also, if transforming a parent component (e.g. panel to container), the width/height gets reset again.
-
17 Apr 2012 9:24 AM #4
Scott -
Thanks for the report, marking this ticket as OPEN and notifying the developer that worked on this.Aaron Conran
@aconran
Sencha Architect Development Team
-
19 Apr 2012 8:50 AM #5
Thanks for the update - looks like this is one of those bugs that just won't go away. It's actually somewhat worse now!
Blowing away a height or width property immediately sets it back to what Architect thinks the image size is. This is bad for me in a lot of cases. For one, I like to preserve the original aspect ratio of pictures I get while constraining their height. I try to set the height to 150 and the width to blank but when I do, the width gets set to the width of my placeholder image.
-
3 May 2012 9:16 AM #6
Please fix this bug, every where I use an image I have to put code in to clear the height and width down.
-
3 May 2012 1:03 PM #7
It will be fixed in the next auto update. I have ensured that its working as desired.
Aaron Conran
@aconran
Sencha Architect Development Team
-
3 May 2012 1:11 PM #8UI: Sencha Architect 2.x / ExtJS 4 MVC
Server side: EJB 3.1 / CDI / JPA 2 / JAX-RS / JasperReports
Application Server: Glassfish 3.1.x
Databases: Oracle 10g & 11g / DB2 9 & 10 / Firebird 2.5
If you like my answer please vote!
-
3 May 2012 1:15 PM #9
Will be going into the QA cycle in the next day or two.
Aaron Conran
@aconran
Sencha Architect Development Team
Success! Looks like we've fixed this one. According to our records the fix was applied for
DSGNR-1748
in
Architect 2.0.


Reply With Quote