PDA

View Full Version : [CLOSED] Increase spacing between fields globally



jchau
Feb 26, 2014, 4:52 PM
What's the best way to increase spacing between fields globally? Would it be a javascript override or a css override?

Daniil
Feb 27, 2014, 4:55 AM
Hi @jchau,

Maybe margin-bottom?

Example

<%@ Page Language="C#" %>

<%@ Register Assembly="Ext.Net" Namespace="Ext.Net" TagPrefix="ext" %>

<!DOCTYPE html>
<html>
<head runat="server">
<title>Ext.NET v2 Example</title>

<style>
.x-form-item {
margin-bottom: 10px;
}
</style>
</head>
<body>
<form runat="server">
<ext:ResourceManager runat="server" />

<ext:TextField runat="server" />

<ext:TextField runat="server" />

<ext:TextField runat="server" />
</form>
</body>
</html>