-
28 Apr 2008 10:17 AM #1
Changing length, width, size of domino fields
Changing length, width, size of domino fields
I'm having trouble with getting Ext.nd to recognize my attempts to modify the sizes of both dialog list fields and date/time fields when they render. I've been successful getting plain text fields to acknowledge my size adjustments, by adding something like width="300px" to the Style field on the HTML tab of the field properties, but neither doing that or putting something similar in the HTML Attibutes item seem to be recognized.
Can anyone help here? Thanks!
-
28 Apr 2008 6:19 PM #2
Instead of
Try:Code:width="300px"
Code:width:300px;
-
1 May 2008 6:16 AM #3
With Ext as part of init function
Code:var fieldNameVar = new Ext.form.TextArea({ id : 'FieldName', emptyText: 'Please enter something', disabled : false, height: 23, allowBlank : false, width : 250, applyTo: 'FieldName' });
-
5 May 2008 9:42 AM #4
-
7 May 2008 7:10 AM #5
No dice
No dice
I tried your change Jack, and it had no effect on the rendered Ext.nd-ized field. I can see that the size change is acknowledge briefly when it is pre-rendered for a split second, but it shrinks back down to the 'default?' size when the rendering kicks in.
And again, the regular text fields do acknowledge the size modifications, just not more specialized field types.
-
8 May 2008 11:14 AM #6
-
8 May 2008 11:30 AM #7
It is both date/time fields and dialoglist fields in which I have this behavior. Before the Ext re-rendering kicks in they show the size difference, then they shift down to the smaller size when the rest of the ext changes take hold.
-
12 May 2008 2:27 AM #8
positioning toolbar
positioning toolbar
hi,
actually we are using toolbar over a grid which comprises two buttons.when minimising the page the the portions of the toolbar is gettiing out of the page and not visible . so i need an idea to view the toolbar on reducing the size . as there is no margin-right option in style property in which way i can do it?
code employed
function createToolbar()
{
menubtnGlobalSettings = new Ext.Toolbar.Button({
text:"Global Settings",
minWidth:70});
menubtnEditPort = new Ext.Toolbar.Button({
text:"Edit",
minWidth:70});
toolbarInterface = new Ext.Toolbar({
style:{
"margin-left":"84.8%",
"margin-top":"4%"
},
items:[ menubtnGlobalSettings,menubtnEditPort ]
});
panel.add(toolbarInterface);
};
-
12 May 2008 8:09 AM #9
What about comboboxes?
What about comboboxes?
how can we change the width? Please!!!
-
13 May 2008 6:46 AM #10
Hmm, I was wrong. Setting width:n in the style area of a field in designer doesn't do anything for comboboxes. It works for other fields though so I'll look at our code to see what's going on there.


Reply With Quote