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 your window is showing



    listeners: {
    beforedestroy: function() {
    if(window = Ext.getCmp('userWindow'))
    ...
  2. 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. 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. You could use toFront() / toBack().
  5. 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,558
    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,558
    You mean that with the original function, without any changes, you see the same behaviour?
  8. Replies
    19
    Views
    1,558
    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
    751
    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
    751
    If the above is your full code, you don't seem to have a form in there?
  11. Replies
    19
    Views
    1,558
    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,558
    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,558
    I believe this stores your height/width



    if (!me.hasSavedRestore) {
    me.restoreSize = me.getSize();
    me.restorePos = me.getPosition(true); ...
  14. Replies
    19
    Views
    1,558
    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():
    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,558
    this should be even better:



    Ext.create('Ext.window.Window', {
    title: 'Hello',
    height: 200,
    width: 400,
    layout: 'fit',
    tools: [{
  17. Replies
    19
    Views
    1,558
    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,558
    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,330
    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,330
    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,330
    I guess I missunderstood the question, this should work:



    Ext.Msg.buttonText.no




    <script type="text/javascript"...
  22. *bump*
  23. Replies
    12
    Views
    1,330
    Working example:



    <html>
    <head>
    <title>test</title>
    <link rel="stylesheet" type="text/css"...
  24. Replies
    12
    Views
    1,330
    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,330
    Ext.getCmp('noLogout').setText('button text');
Results 1 to 25 of 58
Page 1 of 3 1 2 3