Jul 19, 2013, 1:31 PM
[FIXED] [#304] [3.2.0] Problem with TextArea bottom border in FireFox
hi!
I will having a little problem with textarea in firefox, after updating my ext.net to 2.2 (http://svn.ext.net/premium/branches/2.2)
(before, I was using 2.1). The bottom border does not drawn!
The textarea is contained into a container with hbox layout!
See the sample running in all browsers
Sample project!
I will having a little problem with textarea in firefox, after updating my ext.net to 2.2 (http://svn.ext.net/premium/branches/2.2)
(before, I was using 2.1). The bottom border does not drawn!
The textarea is contained into a container with hbox layout!
See the sample running in all browsers
Sample project!
<%@ Page Language="vb" %>
<%@ Register Assembly="Ext.Net" Namespace="Ext.Net" TagPrefix="ext" %>
<script runat="server">
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
Ext.Net.ResourceManager.RegisterControlResources(Of Ext.Net.StatusBar)()
End Sub
</script>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
<title></title>
<script type="text/javascript">
Ext.onReady(function () {
var viewPort = Ext.create("Ext.net.Viewport", {
id: "ViewportConsole",
renderTo: Ext.getBody(),
layout: "border",
padding: 10
});
var paneCenter = viewPort.add({
xtype: 'panel',
bodyPadding: 10,
layout: {
type: 'vbox',
align: 'stretch',
pack: 'top'
},
title: 'TextArea height problem',
region: 'center',
defaults: {
"labelAlign": "top"
}
});
var row1 = paneCenter.add({
xtype: 'container',
margins: '0 0 0 0',
layout: {
type: 'hbox',
align: 'center',
pack: 'top'
},
defaults: {
"labelAlign": "top"
}
});
var txtComments1 = row1.add({
xtype: 'textarea',
fieldLabel: 'Comments 1',
height: 100,
flex: 1
});
var row2 = paneCenter.add({
xtype: 'container',
margins: '5 0 0 0',
layout: {
type: 'hbox',
align: 'center',
pack: 'top'
},
defaults: {
"labelAlign": "top"
}
});
var txtComments2 = row2.add({
xtype: 'textarea',
fieldLabel: 'Comments 2',
height: 100,
flex: 1
});
});
</script>
</head>
<body>
<form id="form1" runat="server">
<ext:ResourceManager ID="ResourceManager1" runat="server" />
<div>
</div>
</form>
</body>
</html>
Last edited by Daniil; Jun 23, 2015 at 10:56 AM.
Reason: [FIXED] [#304] [3.2.0]