Import Tk 8.6.10
This commit is contained in:
@@ -440,8 +440,10 @@ static void LabelframeDoLayout(void *recordPtr)
|
||||
*/
|
||||
switch (LabelAnchorSide(style.labelAnchor)) {
|
||||
case TTK_SIDE_LEFT: borderParcel.x -= lw / 2;
|
||||
/* FALLTHRU */
|
||||
case TTK_SIDE_RIGHT: borderParcel.width += lw/2; break;
|
||||
case TTK_SIDE_TOP: borderParcel.y -= lh / 2;
|
||||
/* FALLTHRU */
|
||||
case TTK_SIDE_BOTTOM: borderParcel.height += lh / 2; break;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user