Search Type: Posts; User: WillBill
Search: Search took 0.02 seconds.
-
26 Jul 2012 3:39 AM
- Replies
- 2
- Views
- 529
You could use the beforedestroy event to check if your window is showing
listeners: {
beforedestroy: function() {
if(window = Ext.getCmp('userWindow'))
... -
26 Jul 2012 3:28 AM
- Replies
- 6
- Views
- 862
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);
} -
26 Jul 2012 1:44 AM
- Replies
- 3
- Views
- 503
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 -
26 Jul 2012 1:11 AM
- Replies
- 3
- Views
- 503
You could use toFront() / toBack().
-
25 Jul 2012 4:02 AM
- Replies
- 10
- Views
- 1,130
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... -
25 Jul 2012 1:08 AM
Jump to post Thread: How to edit / rewrite an event? by WillBill
- Replies
- 19
- Views
- 1,209
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... -
25 Jul 2012 12:53 AM
Jump to post Thread: How to edit / rewrite an event? by WillBill
- Replies
- 19
- Views
- 1,209
You mean that with the original function, without any changes, you see the same behaviour?
-
25 Jul 2012 12:36 AM
Jump to post Thread: How to edit / rewrite an event? by WillBill
- Replies
- 19
- Views
- 1,209
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... -
24 Jul 2012 11:04 PM
Jump to post Thread: submitting error by WillBill
- Replies
- 7
- Views
- 495
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...
-
24 Jul 2012 10:40 PM
Jump to post Thread: submitting error by WillBill
- Replies
- 7
- Views
- 495
If the above is your full code, you don't seem to have a form in there?
-
24 Jul 2012 12:03 PM
Jump to post Thread: How to edit / rewrite an event? by WillBill
- Replies
- 19
- Views
- 1,209
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); -
24 Jul 2012 6:56 AM
Jump to post Thread: How to edit / rewrite an event? by WillBill
- Replies
- 19
- Views
- 1,209
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... -
24 Jul 2012 6:41 AM
Jump to post Thread: How to edit / rewrite an event? by WillBill
- Replies
- 19
- Views
- 1,209
I believe this stores your height/width
if (!me.hasSavedRestore) {
me.restoreSize = me.getSize();
me.restorePos = me.getPosition(true); ... -
24 Jul 2012 6:23 AM
Jump to post Thread: How to edit / rewrite an event? by WillBill
- Replies
- 19
- Views
- 1,209
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:... -
24 Jul 2012 6:08 AM
- Replies
- 3
- Views
- 394
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__ -
24 Jul 2012 5:42 AM
Jump to post Thread: How to edit / rewrite an event? by WillBill
- Replies
- 19
- Views
- 1,209
this should be even better:
Ext.create('Ext.window.Window', {
title: 'Hello',
height: 200,
width: 400,
layout: 'fit',
tools: [{ -
24 Jul 2012 5:36 AM
Jump to post Thread: How to edit / rewrite an event? by WillBill
- Replies
- 19
- Views
- 1,209
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... -
24 Jul 2012 5:08 AM
Jump to post Thread: How to edit / rewrite an event? by WillBill
- Replies
- 19
- Views
- 1,209
Add a listener for the event and implement your own code
Ext.create('Ext.window.Window',
{
title:'Hello',
height:200,
width:400, -
23 Jul 2012 3:29 AM
Jump to post Thread: How to use the localization? by WillBill
- Replies
- 12
- Views
- 1,015
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 Jul 2012 6:21 AM
Jump to post Thread: How to use the localization? by WillBill
- Replies
- 12
- Views
- 1,015
this should work for you
Ext.define('DSK.view.desktopSouth.logout', {
extend: 'Ext.window.Window',
alias: 'widget.logout',
title: 'Logout',
html:... -
20 Jul 2012 6:07 AM
Jump to post Thread: How to use the localization? by WillBill
- Replies
- 12
- Views
- 1,015
I guess I missunderstood the question, this should work:
Ext.Msg.buttonText.no
<script type="text/javascript"... -
20 Jul 2012 5:17 AM
Jump to post Thread: insert panel component in a div by WillBill
- Replies
- 2
- Views
- 382
*bump*
-
20 Jul 2012 4:30 AM
Jump to post Thread: How to use the localization? by WillBill
- Replies
- 12
- Views
- 1,015
Working example:
<html>
<head>
<title>test</title>
<link rel="stylesheet" type="text/css"... -
20 Jul 2012 2:44 AM
Jump to post Thread: How to use the localization? by WillBill
- Replies
- 12
- Views
- 1,015
This is probably a better solution:
Ext.define('DSK.view.desktopSouth.logout', {
extend: 'Ext.window.Window',
alias: 'widget.logout',
buttonsText: {
yes: 'something',... -
20 Jul 2012 2:16 AM
Jump to post Thread: How to use the localization? by WillBill
- Replies
- 12
- Views
- 1,015
Ext.getCmp('noLogout').setText('button text');
Results 1 to 25 of 58
