Re: [lazarus] Resizable forms

2006-03-18 Thread Graeme Geldenhuys
On 18/03/06, Mattias Gaertner <[EMAIL PROTECTED]> wrote: > > Note: This solves most problems, but not all. For the Compiler > > Options dialog, I still needed a OnResize event. > > For what? I will try your Panel with ChildSizing idea and see how that works. Graeme. -- There's no place like 127

Re: [lazarus] Resizable forms

2006-03-18 Thread Mattias Gaertner
On Sat, 18 Mar 2006 14:23:12 +0200 "Graeme Geldenhuys" <[EMAIL PROTECTED]> wrote: > On 18/03/06, Felipe Monteiro de Carvalho > <[EMAIL PROTECTED]> > Let´s say you have a dialog with > 3 buttons aligned horizontaly on it, > > like if they were on the same line. > > > > Using those properties you me

Re: [lazarus] Resizable forms

2006-03-18 Thread Graeme Geldenhuys
On 18/03/06, Felipe Monteiro de Carvalho <[EMAIL PROTECTED]> > Let´s say you have a dialog with 3 buttons aligned horizontaly on it, > like if they were on the same line. > > Using those properties you mentioned, I know how to keep 1 button with > an Anchor on the left, another with a Anchor on the

Re: [lazarus] Resizable forms

2006-03-18 Thread Felipe Monteiro de Carvalho
On 3/15/06, Mattias Gaertner <[EMAIL PROTECTED]> wrote: > See BorderSpacing, ChildSizing, Align, AutoSize and Anchors property. > If you prefer to think in sizers, then use TPanel and set BevelOuter to > bvNone and BevelWidth to 0. > What wxWidgets feature are you missing? Let´s say you have a dia

Re: [lazarus] Resizable forms

2006-03-18 Thread Mattias Gaertner
On Sat, 18 Mar 2006 10:30:49 +0100 Bogus__aw Brandys <[EMAIL PROTECTED]> wrote: >[...] > When user will change screen resolution from 640x480 to 800x600 does > Lazarus application still looks the same ? If the widgetset and window manager keeps all other settings (borders, fonts), then yes: The

Re: [lazarus] Resizable forms

2006-03-18 Thread Bogusław Brandys
Mattias Gaertner wrote: On Wed, 15 Mar 2006 18:35:32 +0100 Bogus__aw Brandys <[EMAIL PROTECTED]> wrote: Mattias Gaertner wrote: On Wed, 15 Mar 2006 08:36:30 +0100 "Patrick Chevalley" <[EMAIL PROTECTED]> wrote: Hi, Even on my computer, that has a slightly bigger standard font on Windows, m

Re: [lazarus] Resizable forms

2006-03-15 Thread Mattias Gaertner
On Wed, 15 Mar 2006 18:35:32 +0100 Bogus__aw Brandys <[EMAIL PROTECTED]> wrote: > Mattias Gaertner wrote: > > On Wed, 15 Mar 2006 08:36:30 +0100 > > "Patrick Chevalley" <[EMAIL PROTECTED]> wrote: > > > >> Hi, > >> > >> > >> Even on my computer, that has a slightly bigger standard font on > >>> Wi

Re: [lazarus] Resizable forms

2006-03-15 Thread Bogusław Brandys
Mattias Gaertner wrote: On Wed, 15 Mar 2006 08:36:30 +0100 "Patrick Chevalley" <[EMAIL PROTECTED]> wrote: Hi, Even on my computer, that has a slightly bigger standard font on Windows, most forms from the IDE look bad. I also remark this problem with my application, only with Windows big

Re: [lazarus] Resizable forms

2006-03-15 Thread Mattias Gaertner
On Wed, 15 Mar 2006 08:36:30 +0100 "Patrick Chevalley" <[EMAIL PROTECTED]> wrote: > Hi, > > > Even on my computer, that has a slightly bigger standard font on > > Windows, most forms from the IDE look bad. > > > > I also remark this problem with my application, only with Windows big > font,

Re: [lazarus] Resizable forms

2006-03-14 Thread Patrick Chevalley
Hi, Even on my computer, that has a slightly bigger standard font on Windows, most forms from the IDE look bad.I also remark this problem with my application,  only with Windows big font, all the testing I do with Gtk at different screen resolution do not show this problem. I solve by calling this

Re: [lazarus] Resizable forms

2006-03-14 Thread Felipe Monteiro de Carvalho
On 3/14/06, Vincent Snijders <[EMAIL PROTECTED]> wrote: > Why doesn't the MessageDlg form use an AutoSize label and AutoSized form? Same > question for the PromptDialog etc. I agree with this. Can we fully implement this with autosize, anchors and OnResize? This way no new features would be needed

Re: [lazarus] Resizable forms

2006-03-14 Thread Mattias Gaertner
On Tue, 14 Mar 2006 17:04:38 +0100 Vincent Snijders <[EMAIL PROTECTED]> wrote: > Mattias Gaertner wrote: > > On Tue, 14 Mar 2006 13:43:52 +0100 > > Vincent Snijders <[EMAIL PROTECTED]> wrote: > > > > > >>Mattias Gaertner wrote: > >> > >>>Yes. Instead of IFDEFs we should add an interface function

Re: [lazarus] Resizable forms

2006-03-14 Thread Vincent Snijders
Mattias Gaertner wrote: On Tue, 14 Mar 2006 13:43:52 +0100 Vincent Snijders <[EMAIL PROTECTED]> wrote: Mattias Gaertner wrote: Yes. Instead of IFDEFs we should add an interface function to ask for the capabilities of the current interface. This way the IFDEFs do not to be checked every time

Re: [lazarus] Resizable forms

2006-03-14 Thread Mattias Gaertner
On Tue, 14 Mar 2006 13:43:52 +0100 Vincent Snijders <[EMAIL PROTECTED]> wrote: > Mattias Gaertner wrote: > > > > Yes. Instead of IFDEFs we should add an interface function to ask for > > the capabilities of the current interface. This way the IFDEFs do not to > > be checked every time an interfac

Re: [lazarus] Resizable forms

2006-03-14 Thread Vincent Snijders
Mattias Gaertner wrote: Yes. Instead of IFDEFs we should add an interface function to ask for the capabilities of the current interface. This way the IFDEFs do not to be checked every time an interface changed. I'm not sure, what capabilities are needed. In case of MessageDlg it would be suffici

Re: [lazarus] Resizable forms

2006-03-14 Thread Mattias Gaertner
On Tue, 14 Mar 2006 13:54:14 +0200 "Yury Sidorov" <[EMAIL PROTECTED]> wrote: > From: "Mattias Gaertner" <[EMAIL PROTECTED]> > > On Tue, 14 Mar 2006 12:47:21 +0200 > > "Yury Sidorov" <[EMAIL PROTECTED]> wrote: > > > >> From: "Mattias Gaertner" <[EMAIL PROTECTED]> > >> >> > AFAIK the form size and i

Re: [lazarus] Resizable forms

2006-03-14 Thread Yury Sidorov
From: "Mattias Gaertner" <[EMAIL PROTECTED]> On Tue, 14 Mar 2006 12:47:21 +0200 "Yury Sidorov" <[EMAIL PROTECTED]> wrote: From: "Mattias Gaertner" <[EMAIL PROTECTED]> >> > AFAIK the form size and its content is not completely under control >of > > the LCL. So only the most simplest forms can be

Re: [lazarus] Resizable forms

2006-03-14 Thread Mattias Gaertner
On Tue, 14 Mar 2006 12:47:21 +0200 "Yury Sidorov" <[EMAIL PROTECTED]> wrote: > From: "Mattias Gaertner" <[EMAIL PROTECTED]> > >> > AFAIK the form size and its content is not completely under control > >of > > the LCL. So only the most simplest forms can be made fixed size. > >> > >> Sure. If resiz

Re: [lazarus] Resizable forms

2006-03-14 Thread Yury Sidorov
From: "Mattias Gaertner" <[EMAIL PROTECTED]> > AFAIK the form size and its content is not completely under control of > the LCL. So only the most simplest forms can be made fixed size. Sure. If resizing do nothing useful for particular dialog, there is no need to allow user to resize it. I'm

Re: [lazarus] Resizable forms

2006-03-14 Thread Mattias Gaertner
On Tue, 14 Mar 2006 09:55:50 +0200 "Yury Sidorov" <[EMAIL PROTECTED]> wrote: > From: "Mattias Gaertner" <[EMAIL PROTECTED]> > > "Yury Sidorov" <[EMAIL PROTECTED]> wrote: > > > >> From: <[EMAIL PROTECTED]> > >> > Yury, > >> > > >> > On the wiki you propose to fix the size of dialogs that are simple

Re: [lazarus] Resizable forms

2006-03-14 Thread Yury Sidorov
From: "Mattias Gaertner" <[EMAIL PROTECTED]> "Yury Sidorov" <[EMAIL PROTECTED]> wrote: From: <[EMAIL PROTECTED]> > Yury, > > On the wiki you propose to fix the size of dialogs that are simple they > need to be "internally resizable". What do you mean with that? > Personally I find it convenient

Re: [lazarus] Resizable forms

2006-03-13 Thread Mattias Gaertner
On Mon, 13 Mar 2006 18:52:33 +0200 "Yury Sidorov" <[EMAIL PROTECTED]> wrote: > From: <[EMAIL PROTECTED]> > > Yury, > > > > On the wiki you propose to fix the size of dialogs that are simple they > > need to be "internally resizable". What do you mean with that? > > Personally I find it convenient

Re: [lazarus] Resizable forms

2006-03-13 Thread Darius Blaszijk
On the wiki you propose to fix the size of dialogs that are simple they need to be "internally resizable". What do you mean with that? Personally I find it convenient to resize all my dialogs the way I want. Do you mean only messagedlg type dialogs, or dialogs like msgview and todolist? I mean d

Re: [lazarus] Resizable forms

2006-03-13 Thread Yury Sidorov
From: <[EMAIL PROTECTED]> Yury, On the wiki you propose to fix the size of dialogs that are simple they need to be "internally resizable". What do you mean with that? Personally I find it convenient to resize all my dialogs the way I want. Do you mean only messagedlg type dialogs, or dialogs lik

[lazarus] Resizable forms

2006-03-13 Thread dhkblaszyk
Yury, On the wiki you propose to fix the size of dialogs that are simple they need to be "internally resizable". What do you mean with that? Personally I find it convenient to resize all my dialogs the way I want. Do you mean only messagedlg type dialogs, or dialogs like msgview and todolist? Dar