Hi all,
I've been trying to get my image-only buttons to stop changing size after
they get the focus.  Here is a simple example from the Playground shown
below.  If you press the button and then dismiss the dialog the button has
the focus and is now larger than it was.  Just hover the mouse over the
button and then off and you can see the button changing size from the
"larger" size back to the intended size.  Any suggestion for making it stay
the same size?

// Create a button
var button1 = new qx.ui.form.Button("First Button",
"icon/22/apps/internet-web-browser.png").set({show:"icon",gap:0,padding:2,center:true});

// Document is the application root
var doc = this.getRoot();

// Add button to document at fixed coordinates
doc.add(button1,
{
  left : 100,
  top  : 50
});

// Add an event listener
button1.addListener("execute", function(e) {
  alert("Hello World!");
});

--
View this message in context: 
http://qooxdoo.678.n2.nabble.com/Button-changes-size-after-obtaining-focus-tp7081269p7081269.html
Sent from the qooxdoo mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Learn Windows Azure Live!  Tuesday, Dec 13, 2011
Microsoft is holding a special Learn Windows Azure training event for 
developers. It will provide a great way to learn Windows Azure and what it 
provides. You can attend the event by watching it streamed LIVE online.  
Learn more at http://p.sf.net/sfu/ms-windowsazure
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to