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
d332e6f
..
baa12ea
100644
(file)
--- a/
roojs-bootstrap-debug.js
+++ b/
roojs-bootstrap-debug.js
@@
-2700,8
+2700,9
@@
Roo.extend(Roo.bootstrap.Card, Roo.bootstrap.Component, {
var ww = he.width;
Roo.get(he).setX( 0 );
if (hw > 1) {
+ var nw = (ww * (1/hw));
Roo.get(he).setSize( ww * (1/hw), ww);
- Roo.get(he).setX( (ww -
(ww * (1/hw))
)/ 2);
+ Roo.get(he).setX( (ww -
nw
)/ 2);
}
}