projects
/
roojs1
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
roojs-bootstrap.js
[roojs1]
/
roojs-bootstrap-debug.js
diff --git
a/roojs-bootstrap-debug.js
b/roojs-bootstrap-debug.js
index
85d341f
..
d332e6f
100644
(file)
--- a/
roojs-bootstrap-debug.js
+++ b/
roojs-bootstrap-debug.js
@@
-2698,6
+2698,7
@@
Roo.extend(Roo.bootstrap.Card, Roo.bootstrap.Component, {
// tall image = > 1
//var w = he.dom.naturalWidth;
var ww = he.width;
+ Roo.get(he).setX( 0 );
if (hw > 1) {
Roo.get(he).setSize( ww * (1/hw), ww);
Roo.get(he).setX( (ww - (ww * (1/hw)))/ 2);