View Full Version : Ext.ux.SlideRegion working as a Component
SmyersM
10 May 2008, 12:02 PM
I'd like to pop up an Ext.Window that contains a container without hacking up the source code.
for example:
var w = new Ext.Window({
items: [{
x-type: 'slider'
, max: 100
}]
});
hendricd
10 May 2008, 12:20 PM
var w = new Ext.Window({
width: ???,
height: ???,
layout: 'fit',
items: [{
xtype: 'slider'
, max: 100
}]
});
Keep going...
SmyersM
10 May 2008, 12:30 PM
Well i was using this thread to ignite the imaginations of the people who make extensions.
The problem with the current implementation of the slider is two fold:
1. You cannot declare width: '100%' because slider.percent and slider.value returns NaN. You have to specify a numeric width to get any result.
2. The api for creating the slider is not EXTified.
Better:
var slider = new Ext.ux.SlideRegion({
});
Current:
var slider = new Ext.ux.SlideRegion(parentElement, {});
You have to specify the parent, you cant delay create like other window components.
hendricd
10 May 2008, 12:33 PM
check with the author yet?
SmyersM
10 May 2008, 12:54 PM
Bah you and your logic.
I dont even know who made it, i'm just complaining incessantly.
Powered by vBulletin® Version 4.1.5 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.