On Mon, 09 Feb 2015 22:41:04 +0200 patspiper <[email protected]> wrote:
>[...] > > Calendar1.Constraints.Min/MaxInterfaceWidth > > > > In this case the LCL sets a Width and the WinCE sets another creating a > > loop. > I put a TCalendar with no autosizing/aligning and a TEdit with > Align=AlBottom on the main form. > xxx.Constraints.Min/MaxInterfaceWidth for both components are 0/0 on > WinCE This means the LCL assumes that TCalender can have any size on WinCE. Set TForm OnResize: Calendar1.GetPreferredSize(w,h); Calendar1.SetBounds(0,0,w,h); Mattias -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
