-
Ext.audio question
By default, if use setHtml method on Ext.Audio, it puts the HTML below the audio progress bar, how can I setup above the audio bar ? Also, How can I increase height of Audio component ? , I tried to increase getHeight/setHeight, nothing seems to make any difference.
Code:
var oneAudioFile = Ext.create(Ext.Audio, { url : 'one.mp3' });
oneAudioFile.setHtml("One File); // sets the html below the audio progress bar , need bwlow
oneAudioFile.setHeight(oneAudioFile.getHeight() * 1.5); // Need to increase height for all components i later too
audioTab.add(oneAudioFile);
Thanks,
Sudhir
-
The html will always be under the indicator.
Are you trying to increase the size trying to get the indicator to be larger?
-
Thanks for reply. There is no way to get the HTML on the top ? Looks like I will need to have separate HTML element component above each audio component. Is the approach correct ?
Actually, I wanted to have more vertical space between two audio indicators.I find default spacing too close.
Thanks
-
Yes, have a regular component as an item before the audio component.