Search:

Type: Posts; User: Ethan Long

Page 1 of 3 1 2 3

Search: Search took 0.02 seconds.

  1. Replies
    1
    Views
    1,065

    Button pressed torch effect

    Hi, I need to use my own icon for button but still need to have the torch effect when pressing, what is the easiest way to do with Sencha?
    38541
    This is Sencha's build in left arrow, I need to use...
  2. Replies
    2
    Views
    2,240

    My app has language settings so user can set...

    My app has language settings so user can set language different from OS language, I need some dynamic way to set date picker's language.

    Not sure if that's possible.

    Or if I can modify date...
  3. Replies
    2
    Views
    2,240

    How to localize date picker?

    Do anyone know how to localize date picker to other languages?

    Btw, the date picker performance is not so good, I need to wait like 0.5 second for it's UI to scroll up, is there a way to improve...
  4. Replies
    6
    Views
    5,634

    I have the same issue but found a solution: in...

    I have the same issue but found a solution:

    in both containers,
    1. the full screen one include toolbar and smaller scrollable container
    2. the smaller scrollable container

    set layout to...
  5. Replies
    3
    Views
    1,386

    Thanks it works, but how to set multiple slots?...

    Thanks it works, but how to set multiple slots? Tried use setSlots() with array of slots information, but didn't work...
  6. How to make buttons in toolbar align to right?

    Tried spacer and layout, didn't work. Can help me change the code to work? Thanks!



    {
    xtype: 'titlebar',
    docked: 'top',
    ...
  7. Replies
    3
    Views
    1,386

    How to set picker's data dynamically?

    The following code is not working, result is empty picker...


    me._pickerWaist = Ext.create('Ext.Picker', {...
    var d = [];
    for (var i=70; i<100; ++i) {
    d.push({
    ...
  8. Radio's check event only called for 2nd time and after?

    I have this radio field:

    _setLang1 = new Ext.field.Radio({ name : 'lang',
    value: 'chinese',
    label: _controller.loc('Chinese Simplified', 1),
    ...
  9. Replies
    5
    Views
    1,714

    Badge cls avaible in Sencha

    Is there a way I can find available badge styles (badgeCls) in Sencha, please also let me know how to find them if you can ;)

    Thanks!
  10. How do I know whether a scroller need to scroll?

    I mean how do I know if a panel's size is big enough so that every item in it is visible and does not need to scroll?

    I have a panel with vbox and buttons in it, I need to do a animated scroll if...
  11. Replies
    3
    Views
    1,922

    Hi Russell, I found this issue and wrote silly...

    Hi Russell,

    I found this issue and wrote silly and lengthy code as workaround, thanks a lot for sharing the correct way!!!
  12. Replies
    2
    Views
    1,979

    Sencha Touch 2, play audio issues

    Hi this is my code to play a sound clip:


    if (bPlaySound != false) {
    if (!_snd) {
    _snd = Ext.create('Ext.Audio', {
    url: 'hitball.mp3',
    });
    }
    _snd.play();
  13. Replies
    2
    Views
    1,001

    i found it here:...

    i found it here:
    http://docs.sencha.com/touch/2-0/#!/api/Ext.LoadMask
  14. Replies
    2
    Views
    1,001

    Sencha progress/process animation

    Is it provided with Sencha a processing animation control? Something like this:

    34451
    I need the circle part, but don't need the 35% thing. Thanks!
  15. Replies
    3
    Views
    1,540

    My colleague has this code working: var...

    My colleague has this code working:



    var viewport = Ext.Viewport;
    viewport.setPreventPanning(false);
    viewport.setPreventZooming(false);
  16. Replies
    2
    Views
    852

    Thanks. I seem notice there is an issue when you...

    Thanks. I seem notice there is an issue when you dynamically add a button to a scrollable panel and scrollToEnd() right after the adding.

    Seems at the point of scrolling, panel's height is not...
  17. Replies
    2
    Views
    1,805

    so simple:) thanks!

    so simple:) thanks!
  18. Replies
    2
    Views
    1,805

    Auto wrap in hbox?

    Let's say panel1 contains panel21 and panel22 in hbox, with flex = 8 and 2.
    panel21's layout is also hbox with buttons in it. I need panel21 to autowrap the buttons to row 2 if width of screen is...
  19. Replies
    2
    Views
    852

    How to scroll with animation?

    Not sure how to scroll a panel with animation, what is the parameter?



    var scroller = _panel.getScrollable().getScroller();
    if (scroller) {
    ...
  20. Is there a good document explain layout in depth?...

    Is there a good document explain layout in depth? Meaning explain all combinations of layout type, align values etc. Felt this is too simple:
    http://docs.sencha.com/touch/2-0/#!/guide/layouts
  21. Sencha layout problem (please see attached image, bit difficult to summarize here)

    What I need:
    34298
    My code:


    var p1 = Ext.create('Ext.Panel', {
    //scrollable: 'vertical', // adding this makes p1 invisible!
    layout: {type: 'vbox', align:...
  22. I found if i remove scrollable: 'vertical', then...

    I found if i remove scrollable: 'vertical', then it's ok...
  23. _panelClues = Ext.create('Ext.Panel', { ...

    _panelClues = Ext.create('Ext.Panel',
    {
    xtype: 'panel', // panel for all the clues buttons
    //docked: 'top',
    layout: {
    type: 'vbox',
    //pack: 'center',...
  24. How to refresh a Panel after adding a button in it?

    Say panel has 2 buttons in it's items, now programmatically added 3rd button, expect it to expand and show the 3rd button.

    Thanks!
  25. Please, anyone knows?

    Please, anyone knows?
Results 1 to 25 of 70
Page 1 of 3 1 2 3