On Sun, Jan 11, 2009 at 5:52 PM, Hans-Peter Diettrich
drdiettri...@aol.com wrote:
What kind of graphics are supported? Pixel-based bitmaps do not fit well
together with otherwise measured fonts and other GUI elements.
It has nothing to do with what kind of graphics are supported.
Layout
Yes, that demo of MiG looks truely awesome...
The fact that you can write:
hPanel.add(createTextField(), width 25%!);
is awesome... I've always wanted to be able to express the size in terms of
a % of the parent!
Greame wrote:
I am working on such a layout manager class though. I am porting the
Graeme Geldenhuys schrieb:
Position or size of
components can be specified in any measuring unit and will keep the
form looking correct irrespective of when it is resized, dpi is
changed etc..
Looking correct and looking good are different things. Most designs,
built with powerful layout
On Mon, Jan 12, 2009 at 1:48 PM, Hans-Peter Diettrich
drdiettri...@aol.com wrote:
Looking correct and looking good are different things. Most designs,
What I meant by correct, is that after a resize or dpi or resolution
change, the form is still as you designed it. If you designed a bad
looking
I can imagine you can mess up a form with MiG. But I think you'll have to
try.
http://www.migcalendar.com/miglayout/swingdemoapp.jnlp
On Mon, Jan 12, 2009 at 2:29 PM, Graeme Geldenhuys
graemeg.li...@gmail.comwrote:
On Mon, Jan 12, 2009 at 1:48 PM, Hans-Peter Diettrich
drdiettri...@aol.com
Graeme Geldenhuys schrieb:
Looking correct and looking good are different things. Most designs,
What I meant by correct, is that after a resize or dpi or resolution
change, the form is still as you designed it. If you designed a bad
looking form (that's your problem) it will look bad in all
Hi all,
I code also in wxPython and I use its sizers quite often. I think they
are a great idea and they are what I almost always miss in the Pascal world.
One advantage of the sizers is the cross-platformity of your layout.
There are predefined sizes of every control for each platform,
Felipe Monteiro de Carvalho schrieb:
My suggestion would be to create a layout class yourself. It should be easy.
What's the base class for an layout manager?
DoDi
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
On Sun, Jan 11, 2009 at 9:57 AM, Hans-Peter Diettrich
drdiettri...@aol.com wrote:
What's the base class for an layout manager?
There is none specific. I would suggest trying TCustomControl if you
also want to draw borders or TControl if you just want to position
childs.
--
Felipe Monteiro de
On 1/10/09, Lord Satan reimg...@web.de wrote:
Did you ever do a 'more complex' GUI with Qt? I am working with Qt in my job
and I would gladly trade Qt's layouts for Lazarus' anchoring and friends?
It takes ages to align Qt's layouts and spacers in a way that they work at
least a little bit
On Sun, 2009-01-11 at 03:52 +0100, Lord Satan wrote:
On Sat, 10 Jan 2009 21:37:28 +
David W Noon david.w.n...@ntlworld.com wrote:
What you are ultimately saying is that Lazarus's form designer is easier
to use than Qt designer.
No, I am not. I am saying that with the Qt layouts we
Graeme Geldenhuys schrieb:
You can even specify spacing between components in mm, inches, cm,
pixels etc... It's resolution independent and dpi independent.
What kind of graphics are supported? Pixel-based bitmaps do not fit well
together with otherwise measured fonts and other GUI elements.
Felipe Monteiro de Carvalho schrieb:
What's the base class for an layout manager?
There is none specific. I would suggest trying TCustomControl if you
also want to draw borders or TControl if you just want to position
childs.
That doesn't answer the question, how to marry controls and
On Sun, 11 Jan 2009 16:49:10 +0100
Hans-Peter Diettrich drdiettri...@aol.com wrote:
Felipe Monteiro de Carvalho schrieb:
What's the base class for an layout manager?
There is none specific. I would suggest trying TCustomControl if you
also want to draw borders or TControl if you just
Mattias Gaertner schrieb:
That doesn't answer the question, how to marry controls and layout
manager. How will the form designer interact with the layout
manager...
At the moment this is completely in the LCL. Controls can override
various methods to alter that behavior and applications
On Wed, Jan 7, 2009 at 5:09 PM, David W Noon david.w.n...@ntlworld.com wrote:
So, as the subject line says, does Lazarus have such classes?
No, but it has anchoring, alignment etc...
I am working on such a layout manager class though. I am porting the
MiG Layout from Java to Free Pascal. It's
On Sat, 2009-01-10 at 10:01 +0200, Graeme Geldenhuys wrote:
On Wed, Jan 7, 2009 at 5:09 PM, David W Noon david.w.n...@ntlworld.com
wrote:
So, as the subject line says, does Lazarus have such classes?
No, but it has anchoring, alignment etc...
This has proven to be completely adequate
On Sat, 10 Jan 2009 19:49:43 +
David W Noon david.w.n...@ntlworld.com wrote:
If it's only half as good a Qt's layout classes it will be very good
indeed.
Did you ever do a 'more complex' GUI with Qt? I am working with Qt in my job
and I would gladly trade Qt's layouts for Lazarus'
On Sat, 2009-01-10 at 22:05 +0100, Lord Satan wrote:
On Sat, 10 Jan 2009 19:49:43 +
David W Noon david.w.n...@ntlworld.com wrote:
If it's only half as good a Qt's layout classes it will be very good
indeed.
Did you ever do a 'more complex' GUI with Qt? I am working with Qt in my job
On Sat, 10 Jan 2009 22:05:43 +0100
Lord Satan reimg...@web.de wrote:
Did you ever do a 'more complex' GUI with Qt? I am working with Qt in my job
and I would gladly trade Qt's layouts for Lazarus' anchoring and friends?
Of course, the question mark must be a period. As I have no doubt about
My suggestion would be to create a layout class yourself. It should be easy.
If it is good enougth it may be added to Lazarus later.
--
Felipe Monteiro de Carvalho
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
Hi,
Some C++ class libraries have object classes that automatically resize
widgets when a form is resized by the user. For example, wxWidgets calls
them sizers, and Qt calls them layouts. I have perused the LCL
documentation and have found nothing that quite meets the bill. I tried
a TPanel
2009/1/7 David W Noon david.w.n...@ntlworld.com:
Hi,
Some C++ class libraries have object classes that automatically resize
widgets when a form is resized by the user. For example, wxWidgets calls
them sizers, and Qt calls them layouts. I have perused the LCL
documentation and have found
Vincent Snijders wrote:
2009/1/7 David W Noon david.w.n...@ntlworld.com:
Hi,
Some C++ class libraries have object classes that automatically resize
widgets when a form is resized by the user. For example, wxWidgets calls
them sizers, and Qt calls them layouts. I have perused the LCL
On Wed, 2009-01-07 at 16:29 +0100, Vincent Snijders wrote:
2009/1/7 David W Noon david.w.n...@ntlworld.com:
Some C++ class libraries have object classes that automatically resize
widgets when a form is resized by the user. For example, wxWidgets calls
them sizers, and Qt calls them
Vincent Snijders schrieb:
Some C++ class libraries have object classes that automatically resize
widgets when a form is resized by the user. For example, wxWidgets calls
them sizers, and Qt calls them layouts. I have perused the LCL
documentation and have found nothing that quite meets the
26 matches
Mail list logo