From: Mats B. <ma...@pr...> - 2005-03-06 14:43:45
|
Dear all, I've put a patch for the tile project at: http://sourceforge.net/tracker/index.php?func=detail&aid=1157739&group_id=11464&atid=311464 This was supposed to be a fix for the pyjamas stripe alignment glitches on 10.2 but doesn't work. This is either due to an Apple bug or me misunderstanding something fundamental here: * Apple docs says: * "ApplyThemeBackground aligns patterns based on the rectangle passed in the bounds parameter. This * is in contrast to the function SetThemeBackground (page 78), which aligns patterns based on the * origin of the current port." */ but this doesn't work like this. The pattern offset is always the same independent of the top of rectangle. Anyone has any ideas... Test: pack [tlabel .a -text AAAAAA] -side left -pady 2 pack [tlabel .b -text AAAAAA] -side top Mats |