Am 2016-06-05 um 14:56 schrieb Luiz Americo Pereira Camara: > 2016-06-05 7:52 GMT-03:00 Jürgen Hestermann <[email protected]>: > ---------------------- > if not FCheckBox then > HeaderGlyphSize := Point(FImages.Width, FImages.Height) > else > HeaderGlyphSize := Point(Treeview.CheckImages.Height, Treeview.CheckImages.Height) > ---------------------- > Why is "Height" used twice in the last line? > CheckImages changed from a ImageList to a Bitmap with all check images in a row. The Width of the bitmap has a different meaning from the imagelist one. > In the Bitmap is the sum of all checkimages Width > In the case the Width of each individual image matches Height, so the code. > Feel free to report any bug
I don't fully understand the changes regarding CheckImages but if it is not a bug but desired behaviour then why should I report a bug? -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus-ide.org/listinfo/lazarus
