Hi, I am trying to use the JS libs directly. Its mostly working, except when I tried a basic button im getting this odd extra border. I cant for the life of me figure out what is causing this.
Weird border around button? What am I doing wrong.
Here is the code
Code:
<!DOCTYPE HTML>
<meta http-equiv="X-UA-Compatible" content="IE=Edge">
<html>
<head>
<link rel="stylesheet" type ="text/css" href="/extjs5/build/packages/ext-theme-gray/build/resources/ext-theme-gray-all-debug.css">
<script type ='text/javascript' src='/extjs5/build/ext-all.js'></script>
<script type ='text/javascript' src='/extjs5/build/packages/ext-theme-gray/build/ext-theme-gray.js'></script>
<script type ='text/javascript' data-main="/resources/core" src="/resources/require.js"></script>
</head>
<body oncontextmenu="return false;">
<div id ="ExtJSWorkerDiv"></div>
</body>
<script type ='text/javascript'>
Ext.create('Ext.Button', {
text : 'Dynamic Handlerz Button',
renderTo: Ext.getBody(),
});
</script>
</html>
Weird border around button? What am I doing wrong.
Aucun commentaire:
Enregistrer un commentaire