I tested tonight and gtk has same problems as win32 with anchors. This is evidently an LCL problem, not a widgetset one.
Clearly, if the TEdit on the form resizes, then the TEdit on the TTabSheet should too. That's the way Delphi works. -----Original Message----- From: George Lober [mailto:[EMAIL PROTECTED] Sent: Mon 6/18/2007 3:43 PM To: [email protected] Subject: Re: [lazarus] TNoteBook vs TPageControl Ok, you got me on that one. I don't use alCustom, never needed to, so I didn't check for that. Also if for example you use alTop and you set Anchor akBottom to true, this will also not work. Again I don't use those combinations, so I didn't check. I usually use alNone with anchors, alClient, or alTop, alLeft, alRight, alBottom with a splitter or without setting the fourth anchor. A lot of the time I have found it useful to place things in TPanels (as well as TPanels inside a TPanels) in combination with the previously mentioned modes to position things around, sort of my way of getting things to position somewhat like in Java. So far I have pretty much gotten the effects I want doing it that way. For my way of doing things the only limitation would be the alNone with anchors set mode, which does limit what you can do with the look of an app. Regards, George Hess, Philip J wrote: > I don't see that on Windows. Setting the TEdit's Align to alCustom has > the same problem as clNone. The other settings expand the TEdit to take > up the entire sheet, which isn't what we want. > > Thanks. > > -Phil > > > -----Original Message----- > From: George Lober [mailto:[EMAIL PROTECTED] > Sent: Monday, June 18, 2007 2:57 PM > To: [email protected] > Subject: Re: [lazarus] TNoteBook vs TPageControl > > Ok, never mind, I see now the bug is applicable to Win32 only. Although > using other modes other than alNone, seems to work Ok. > > George > > > George Lober wrote: > >> Hello, >> >> Yes that would be showstopper, but I checked TPageControl/TTabSheet >> under GTK, with TButton, TEdit, TListview and TStringGrid, and the >> controls resize correctly, either with alClient or with alNone and >> anchors set. ??? >> >> Regards, >> George >> >> >> Hess, Philip J wrote: >> >>> Graeme, >>> >>> You might want to check and see if TNotebook has this same problem: >>> >>> http://www.freepascal.org/mantis/view.php?id=8056 >>> >>> What this means is that anchored controls on a TTabSheet don't resize >>> when the sheet does following a resize of form at runtime. That is, >>> > the > >>> controls on the TTabSheet stay the same size, regardless of how big >>> > the > >>> TTabSheet gets (or how small). >>> >>> I would think this would be a showstopper for a lot of programs. >>> Generally most programs don't restrict the main form to a set size, >>> which is what would be required to use TTabSheet/TPageControl. >>> >>> Thanks. >>> >>> -Phil >>> >>> >>> -----Original Message----- >>> From: Graeme Geldenhuys [mailto:[EMAIL PROTECTED] Sent: >>> Monday, June 18, 2007 8:53 AM >>> To: [email protected] >>> Subject: Re: [lazarus] TNoteBook vs TPageControl >>> >>> On 18/06/07, Charl van Jaarsveldt <[EMAIL PROTECTED]> wrote: >>> >>> >>>> Also, in both, if you are designing a tab, then flip over to another >>>> >>>> >>> tab, >>> >>> >>>> any new components dropped onto the tab you are now on will not be >>>> >>>> >>> displayed >>> >>> >>>> at design time, only the resize blocks will be there to tell you >>>> > where > >>>> >>>> >>> it >>> >>> >>>> is. This happens in Gtk2, not sure about Gtk1. Workaround is to save >>>> >>>> >>> the >>> >>> >>>> project and then reopen it, then you can go on designing the other >>>> >>>> >>> tab. >>> >>> >>>> Charl >>>> >>>> >>> You don't need to reopen the project, just reload the form. Save >>> files, close the form in the Visual Designer (top left cross), then >>> press F12 to load it again. Works for me. I'm using GTK1 btw. >>> >>> Has anybody reported these issues in Mantis yet? >>> >>> Regards, >>> - Graeme - >>> >>> _________________________________________________________________ >>> To unsubscribe: mail [EMAIL PROTECTED] with >>> "unsubscribe" as the Subject >>> archives at http://www.lazarus.freepascal.org/mailarchives >>> >>> _________________________________________________________________ >>> To unsubscribe: mail [EMAIL PROTECTED] with >>> "unsubscribe" as the Subject >>> archives at http://www.lazarus.freepascal.org/mailarchives >>> >>> >>> >> _________________________________________________________________ >> To unsubscribe: mail [EMAIL PROTECTED] with >> "unsubscribe" as the Subject >> archives at http://www.lazarus.freepascal.org/mailarchives >> >> >> > > > _________________________________________________________________ > To unsubscribe: mail [EMAIL PROTECTED] with > "unsubscribe" as the Subject > archives at http://www.lazarus.freepascal.org/mailarchives > > _________________________________________________________________ > To unsubscribe: mail [EMAIL PROTECTED] with > "unsubscribe" as the Subject > archives at http://www.lazarus.freepascal.org/mailarchives > > > _________________________________________________________________ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
<<winmail.dat>>
