Search:

Type: Posts; User: WillBill

Page 1 of 3 1 2 3

Search: Search took 0.04 seconds.

  1. You could use the beforedestroy event to check if...

    You could use the beforedestroy event to check if your window is showing



    listeners: {
    beforedestroy: function() {
    if(window = Ext.getCmp('userWindow'))
    ...
  2. If you want something like a replace function...

    If you want something like a replace function this should do the trick



    replaceRecord: function(store, index, newValue) {
    store.removeAt(index);
    store.insert(index, newValue);
    }
  3. Replies
    3
    Views
    748

    It has to be a floating component, it won't work...

    It has to be a floating component, it won't work otherwise.

    http://docs.sencha.com/ext-js/4-0/#!/api/Ext.util.Floating-method-toFront
  4. Replies
    3
    Views
    748

    You could use toFront() / toBack().

    You could use toFront() / toBack().
  5. I think he does want a tabPanel, seeing has he is...

    I think he does want a tabPanel, seeing has he is refering to sencha docs and firefox tabs.
    Go to http://docs.sencha.com/ext-js/4-0/#!/api/Ext.tab.Panel, take a look at the example.

    You can add...
  6. Replies
    19
    Views
    1,801

    You should really try to put back the 'var me =...

    You should really try to put back the 'var me = this;' part aswell...

    A quick fix for your toolbar disappearing would be to do a setSize and subtract the height of your toolbar.

    But really, I...
  7. Replies
    19
    Views
    1,801

    You mean that with the original function, without...

    You mean that with the original function, without any changes, you see the same behaviour?
  8. Replies
    19
    Views
    1,801

    Well, one thing I noticed is that you removed the...

    Well, one thing I noticed is that you removed the 'var me = this;' line and use 'this' directly.
    I would suggest to change this back to it's original state, to be certain you're working with in the...
  9. Replies
    7
    Views
    911

    Yes, if you're using this.up('form'). You're...

    Yes, if you're using this.up('form'). You're telling Ext-Js to look up the dom tree and return the first match it will find (in this case a form). this.down('form') works the same, but does a search...
  10. Replies
    7
    Views
    911

    If the above is your full code, you don't seem to...

    If the above is your full code, you don't seem to have a form in there?
  11. Replies
    19
    Views
    1,801

    Try adding a boolean. Not sure if it will help....

    Try adding a boolean. Not sure if it will help. Are you sure the values in posTb are the ones you want?





    var posTb = (Ext.ComponentQuery.query('taskbar')[0]).getPosition(true);
  12. Replies
    19
    Views
    1,801

    I'm not sure what you're doing, but below is the...

    I'm not sure what you're doing, but below is the original code. I would edit this, instead of creating your own. It should be pretty straight forward.

    Just remove the part you don't want, but keep...
  13. Replies
    19
    Views
    1,801

    I believe this stores your height/width ...

    I believe this stores your height/width



    if (!me.hasSavedRestore) {
    me.restoreSize = me.getSize();
    me.restorePos = me.getPosition(true); ...
  14. Replies
    19
    Views
    1,801

    I don't know what you changed, but the code below...

    I don't know what you changed, but the code below will toggle the maximize tool image without
    maximizing the window.




    Ext.create('Ext.window.Window', {
    title: 'Hello',
    height:...
  15. setHeight():...

    setHeight():
    http://docs.sencha.com/ext-js/4-0/#!/api/Ext.tip.Tip


    if you do a console.log(tipObject).. you should be able to find the methods in __proto__
  16. Replies
    19
    Views
    1,801

    this should be even better: ...

    this should be even better:



    Ext.create('Ext.window.Window', {
    title: 'Hello',
    height: 200,
    width: 400,
    layout: 'fit',
    tools: [{
  17. Replies
    19
    Views
    1,801

    You're right. How about fetching the click event...

    You're right. How about fetching the click event when someone presses the maximize button?
    This would be before the maximize event fires and you could implement your own function in
    there or fire...
  18. Replies
    19
    Views
    1,801

    Add a listener for the event and implement your...

    Add a listener for the event and implement your own code




    Ext.create('Ext.window.Window',
    {
    title:'Hello',
    height:200,
    width:400,
  19. Replies
    12
    Views
    1,538

    Try a different language file, german or...

    Try a different language file, german or something.
    I noticed that when I tried to use the french one, located on googlecode.com it gave me an error.
    If other files work, but the french one does...
  20. Replies
    12
    Views
    1,538

    this should work for you ...

    this should work for you




    Ext.define('DSK.view.desktopSouth.logout', {
    extend: 'Ext.window.Window',
    alias: 'widget.logout',
    title: 'Logout',
    html:...
  21. Replies
    12
    Views
    1,538

    I guess I missunderstood the question, this...

    I guess I missunderstood the question, this should work:



    Ext.Msg.buttonText.no




    <script type="text/javascript"...
  22. Replies
    2
    Views
    573

    *bump*

    *bump*
  23. Replies
    12
    Views
    1,538

    Working example: ...

    Working example:



    <html>
    <head>
    <title>test</title>
    <link rel="stylesheet" type="text/css"...
  24. Replies
    12
    Views
    1,538

    This is probably a better solution: ...

    This is probably a better solution:



    Ext.define('DSK.view.desktopSouth.logout', {
    extend: 'Ext.window.Window',
    alias: 'widget.logout',
    buttonsText: {
    yes: 'something',...
  25. Replies
    12
    Views
    1,538

    Ext.getCmp('noLogout').setText('button text');

    Ext.getCmp('noLogout').setText('button text');
Results 1 to 25 of 59
Page 1 of 3 1 2 3