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
