roojs-bootstrap.js
[roojs1] / roojs-bootstrap-debug.js
index 2e1e710..ee6b1cf 100644 (file)
@@ -2700,6 +2700,7 @@ Roo.extend(Roo.bootstrap.Card, Roo.bootstrap.Component,  {
         var ww = he.width;
         if (hw > 1) {
             Roo.get(he).setSize( ww * (1/hw),  ww);
+            Roo.get(he).setX( (ww - (ww * (1/hw))/ 2);
         }
 
     }