Swing Designer allows you to quickly create the frames, panels, dialogs, applets and other UI elements that comprise Java Swing applications.
Moderators: Konstantin.Scheglov, gnebling, Alexander.Mitin, jwren, Eric Clayberg
by Andrei.Pozolotin » Tue Oct 12, 2010 7:29 am
BUG: (linux) WB does not show anchor icons for MIG
see screen shot below; strange that it shows them OK for GroupLayout
- Attachments
-

- snapshot94.png (244.8 KiB) Viewed 127 times
-
Andrei.Pozolotin
-
- Posts: 55
- Joined: Wed Sep 22, 2010 5:35 am
by Eric Clayberg » Tue Oct 12, 2010 7:52 am
This is not a bug. It is working exactly as expected.
An empty rectangle indicates that it is using the default anchors (as also shown in the toolbar).
Each layout manager has its own set of anchors, so don't assume that GroupLayout and MiGLayout are the same.
-
Eric Clayberg
- Moderator
-
- Posts: 4503
- Joined: Tue Sep 30, 2003 6:39 am
- Location: Boston, MA USA
-
by Andrei.Pozolotin » Tue Oct 12, 2010 8:36 am
my bad: I was expecting it to also show icon for "default"
-
Andrei.Pozolotin
-
- Posts: 55
- Joined: Wed Sep 22, 2010 5:35 am
by Eric Clayberg » Tue Oct 12, 2010 9:08 am
Andrei.Pozolotin wrote:my bad: I was expecting it to also show icon for "default"
If you look at the
MiGLayout docs, you can see that the empty rectangle is used to represent the default.
-
Eric Clayberg
- Moderator
-
- Posts: 4503
- Joined: Tue Sep 30, 2003 6:39 am
- Location: Boston, MA USA
-
Return to Swing Designer
Who is online
Users browsing this forum: No registered users and 1 guest