diff options
author | joye <joye> | 2014-01-08 18:31:41 (GMT) |
---|---|---|
committer | joye <joye> | 2014-01-08 18:31:41 (GMT) |
commit | 8eec3098de1975aa28c3a8afd82aa5cb0c6ff3ae (patch) | |
tree | 2a4d7e6d3ca517c6d34f9eafde1d90f32b275735 /src/bltGrMarker.C | |
parent | 34d985456d916650bfa84db6cbf8b582ca3d3d45 (diff) | |
download | blt-8eec3098de1975aa28c3a8afd82aa5cb0c6ff3ae.zip blt-8eec3098de1975aa28c3a8afd82aa5cb0c6ff3ae.tar.gz blt-8eec3098de1975aa28c3a8afd82aa5cb0c6ff3ae.tar.bz2 |
*** empty log message ***
Diffstat (limited to 'src/bltGrMarker.C')
-rw-r--r-- | src/bltGrMarker.C | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/bltGrMarker.C b/src/bltGrMarker.C index f8fd284..144d776 100644 --- a/src/bltGrMarker.C +++ b/src/bltGrMarker.C @@ -694,9 +694,9 @@ static Blt_ConfigSpec textConfigSpecs[] = Tk_Offset(TextMarker, obj.name), BLT_CONFIG_NULL_OK}, {BLT_CONFIG_SYNONYM, "-outline", "foreground", (char *)NULL, (char *)NULL, 0, 0}, - {BLT_CONFIG_PAD, "-padx", "padX", "PadX", DEF_MARKER_PAD, + {BLT_CONFIG_PIXELS, "-padx", "padX", "PadX", DEF_MARKER_PAD, Tk_Offset(TextMarker, style.xPad), BLT_CONFIG_DONT_SET_DEFAULT}, - {BLT_CONFIG_PAD, "-pady", "padY", "PadY", DEF_MARKER_PAD, + {BLT_CONFIG_PIXELS, "-pady", "padY", "PadY", DEF_MARKER_PAD, Tk_Offset(TextMarker, style.yPad), BLT_CONFIG_DONT_SET_DEFAULT}, {BLT_CONFIG_DOUBLE, "-rotate", "rotate", "Rotate", DEF_MARKER_ANGLE, Tk_Offset(TextMarker, style.angle), BLT_CONFIG_DONT_SET_DEFAULT}, @@ -2374,8 +2374,8 @@ CreateTextProc(void) tmPtr->classPtr = &textMarkerClass; Blt_Ts_InitStyle(tmPtr->style); tmPtr->style.anchor = TK_ANCHOR_NW; - tmPtr->style.padLeft = tmPtr->style.padRight = 4; - tmPtr->style.padTop = tmPtr->style.padBottom = 4; + tmPtr->style.xPad = 4; + tmPtr->style.yPad = 4; return (Marker *)tmPtr; } |