Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
MigLayout
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  3 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Raul_Arabaolaza  
View profile  
 More options Aug 13 2010, 8:10 am
From: Raul_Arabaolaza <raul.arabaol...@gmail.com>
Date: Fri, 13 Aug 2010 05:10:26 -0700 (PDT)
Local: Fri, Aug 13 2010 8:10 am
Subject: MigLayout
Hi,

Continuing in my line to ask for things :) May i ask MigLayout
support?? It“s easy to add, it“s the best layout manager out there and
as a dependency is a simple jar.

You only need to add this lines to ComponentBuilder class:

At the end of the  configurelayout method:

else if (layoutString.startsWith("mig")) {
        cont.setLayout(new MigLayout());

} else {

        throw new IllegalArgumentException(layoutString
                                        + " is not a valid layout");

}

And at the end of the addToParent method:

} else if (layout instanceof MigLayout){

        parent.add(child, constraint.toString());

}

Miglayout Constraints are strings like spring layout, i would like to
submit a patch but i don“t have access to the scm.

Regards, Raśl


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Dan Leuck  
View profile  
 More options Aug 13 2010, 9:53 am
From: Dan Leuck <dle...@gmail.com>
Date: Fri, 13 Aug 2010 06:53:21 -0700 (PDT)
Local: Fri, Aug 13 2010 9:53 am
Subject: Re: MigLayout
Hi Raśl,

> Continuing in my line to ask for things :)

No problem. We really appreciate your feedback!

> May i ask MigLayout
> support?? It“s easy to add, it“s the best layout manager out there and
> as a dependency is a simple jar.

Perhaps instead of specifically building in MigLayout, we should add
the ability to plug-in new layout managers via the API.

> Miglayout Constraints are strings like spring layout

I'm familiar with Mig, and I think its a nice layout manager, but you
can easily achieve the same results with the SDL/Swing layouts such as
LinearLayout. If you describe the layout you want to achieve, I'm
happy to provide the SDL/Swing example code to demonstrate how its
done.

>, i would like to
> submit a patch but i don“t have access to the scm.

Next week we will get our house in order and start offering SVN access
to developers like you who have shown they understand the framework
and can make quality contributions.

Best,
Dan


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Raśl Arabaolaza  
View profile  
 More options Aug 13 2010, 11:50 am
From: Raśl Arabaolaza <raul.arabaol...@gmail.com>
Date: Fri, 13 Aug 2010 17:50:27 +0200
Local: Fri, Aug 13 2010 11:50 am
Subject: Re: MigLayout

Hi Dan,

The ability to plug any layout manager is a most wellcome feature :)

The layout i want to create is the one shown in the attached image,  i“m
totally unfamiliar with LinearLayout and the core layouts like spring
allways looks too complicated to me to like them. Some examples about
LinerLayout would be more than appreciated. In the image the entity buttons
are displayed vertically while the entity table is displayed inside a
jscrollpane that fills most of the space, also there“re a jlabel and a
jxbusy label on the top down of the frame, the jxbusy label is left aligned.
To acomplish this i“ve used nested panels:

frame defaultCloseOperation=3 locationRelativeTo=null title="Details" {
menus{
"Create" {
"Persona" do="createPersona"
"Coche" do="createCoche"

}
}

form ID="Scaffold" {
pane  {
vpane loc="east" ID="listContainer" preferredSize="640,480"{
 }
ref "menu" loc="west"
pane ID="notification_pane" loc="south" preferredSize="640,35"{
"Generated by Spring Roo using SDL/Swing" border=5 loc="west"
busy ID="busyFlag" horizontalAlignment=4 visible=false preferredSize="25,25"
loc="east"

}
     }
}
}

SVN access would be superb too :)

Thanks, Raśl

2010/8/13 Dan Leuck <dle...@gmail.com>

  layout.jpg
62K Download

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »