View unanswered posts | View active topics It is currently Wed Jun 19, 2013 4:59 pm



Reply to topic  [ 5 posts ] 
 Changing model of a JComboBox make other component move 
Author Message

Joined: Fri May 11, 2007 4:20 pm
Posts: 65
Post Changing model of a JComboBox make other component move
Hi,

When changing the model of a component, it make other component move up and down by one pixel.
In the attached example. There are 2 panels, on use MigLayout, the other one the default layout.

If you click on the switch button, you'll see that the Label move up and down on the bottom Panel and not on the top Panel.

Thanks,

Olivier


Attachments:
ComboModelTest.java [2.2 KiB]
Downloaded 59 times
Sun Apr 08, 2012 11:39 am
Profile WWW
Site Admin

Joined: Mon Dec 06, 2004 4:24 pm
Posts: 2485
Location: Sweden
Post Re: Changing model of a JComboBox make other component move
Ok, thanks. I'll check it out.

Mikael


Sun Apr 08, 2012 11:41 am
Profile WWW

Joined: Fri May 11, 2007 4:20 pm
Posts: 65
Post Re: Changing model of a JComboBox make other component move
Hey Mikael,

Do you already have an idea when you'll do the next build?

Where you able to see the problem on your side?

Thanks,

Olivier


Sun May 20, 2012 10:37 am
Profile WWW
Site Admin

Joined: Mon Dec 06, 2004 4:24 pm
Posts: 2485
Location: Sweden
Post Re: Changing model of a JComboBox make other component move
Hello,

Unfortunately not. I'm swamped with work in other higher priority projects atm. I usually try to make one release every six month.

Cheers,
Mikael


Sun May 20, 2012 5:19 pm
Profile WWW
Site Admin

Joined: Mon Dec 06, 2004 4:24 pm
Posts: 2485
Location: Sweden
Post Re: Changing model of a JComboBox make other component move
Hello,

The problem was that JComboBox doesn't report the same baseline for an empty combo as it does for a combo with a selection.

This is now fixed and will be in the next version.

Cheers,
Mikael


Fri Feb 22, 2013 1:49 pm
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 5 posts ] 

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.