2010/5/14 Mattias Gärtner <[email protected]>: > Zitat von Henry Vermaak <[email protected]>: >> >> Yes, mine are 4 pixels higher, the bevel around the "x" is also >> noticeably bigger in the ide. Do these get drawn manually? > > No. It's a gtk button with modified style > style^.xthickness := 0; > style^.ythickness := 0; > > Maybe the style is later replaced by the gtk. The firefox buttons are also > bigger than gedit's. Probably gedit uses a special. Have to look into gedit > code ...
That's weird, my Firefox buttons are the same as Gedit's, but the overall tab height is smaller in Firefox. I think Firefox removes the default inner-border of some controls, since they can get the buttons smaller than default (older) gtk without the text clipping (something which is redundant in newer gtk versions, since the text centering works different now). Henry -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
