Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2003-10

Resizing the "Object Inspector" window

5 messages · 4 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

George Patterson
to George Patterson: Could someone modify the source code or suggest a way that I could resize the "Object…
Could someone modify the source code or suggest a way that I could resize the "Object Inspector/Properties" window??

I must have been overtired when I was reading some of the Lazarus code because I found it now. :-P

I tried find this myself by grepping for "Object Inspector" but found very little. How do you drill down with a problem like this??

In the constructor

constructor TObjectInspector.Create(AnOwner: TComponent);
Was the line
BorderStyle:=bsSizeToolWin;
I changed it to
BorderStyle:=bsSizeable;

Can someone commit that to CVS or tell me how I can do it myself.

Thanks

George

Reply by email

George Patterson

Could someone modify the source code or suggest a way that I could resize the "Object Inspector/Properties" window??

I tried find this myself by grepping for "Object Inspector" but found very little. How do you drill down with a problem like this??

Thanks

George

Reply by email

Micha Nelissen
to George Patterson
George Patterson wrote 14 lines
>I tried find this myself by grepping for "Object Inspector" but found >very little. How do you drill down with a problem like this?? > In the constructor constructor TObjectInspector.Create(AnOwner: TComponent); Was the line BorderStyle:=bsSizeToolWin; I changed it to BorderStyle:=bsSizeable;

SizeToolWin is already a resizable window, and on win32 at least, the object inspector was resizable. The 'ToolWin' indicates a smaller window caption, which is a common win32 feature for tool windows.

Micha.

Reply by email

Marc Weustink
to George Patterson: Could someone modify the source code or suggest a way that I could resize the "Object…
Micha Nelissen wrote 13 lines
George Patterson wrote: >>I tried find this myself by grepping for "Object Inspector" but found >>very little. How do you drill down with a problem like this?? > >In the constructor >constructor TObjectInspector.Create(AnOwner: TComponent); >Was the line BorderStyle:=bsSizeToolWin; >I changed it to BorderStyle:=bsSizeable; SizeToolWin is already a resizable window, and on win32 at least, the object inspector was resizable. The 'ToolWin' indicates a smaller window caption, which is a common win32 feature for tool windows.

Indeed, but...

I think we should change it back after we have a way to minimize all windows when the mainbar is minimized. On linux you could minimize every window exept the object inspector.... Very annoying

Marc

Reply by email

Mattias Gaertner
to George Patterson: Could someone modify the source code or suggest a way that I could resize the "Object…
Show quoted text 24 lines
On Fri, 31 Oct 2003 04:31:59 +1030 George Patterson wrote: > Could someone modify the source code or suggest a way that I could > resize the "Object Inspector/Properties" window?? I must have been overtired when I was reading some of the Lazarus code because I found it now. :-P > I tried find this myself by grepping for "Object Inspector" but found > very little. How do you drill down with a problem like this?? > In the constructor constructor TObjectInspector.Create(AnOwner: TComponent); Was the line BorderStyle:=bsSizeToolWin; I changed it to BorderStyle:=bsSizeable; Can someone commit that to CVS

Committed. Thanks for the hint.

Mattias

Reply by email