Page 1 of 1
italics text in LABEL "cuts" groups bevel on the right side
Posted: Mon Apr 14, 2014 1:18 pm
by javierdlr
Hi, having a right placed label in a reaction window if text is set in italics the groups bevel gets "cutted" at the right side (part of the last character is drawn into the bevel group), see pic attached. Is it a bug in label.image (bevel group lines)?
Code: Select all
..
LAYOUT_LabelColumn, LJ_RIGHT,
..
LAYOUT_AddChild, OBJ(OBJ_INPUTPREFS) = IIntuition->NewObject(NULL, "button.gadget",
GA_ID, OBJ_INPUTPREFS,
GA_RelVerify, TRUE,
GA_Text, "Modify...",
TAG_DONE),
CHILD_WeightedWidth, 0,
CHILD_Label, IIntuition->NewObject(NULL, "label.image",
LABEL_Underscore, ~0,
LABEL_SoftStyle, FSF_ITALIC,
LABEL_Text, "(re-run KMS to reflect this change)",
TAG_DONE),
..
Re: italics text in LABEL "cuts" groups bevel on the right s
Posted: Mon Apr 14, 2014 1:23 pm
by javierdlr
"Fixed" such issue by adding a blank sapce at the end of such line and an blank space text (again) " " using FS_NORMAL:
Code: Select all
..
CHILD_WeightedWidth, 0,
CHILD_Label, IIntuition->NewObject(NULL, "label.image",
LABEL_Underscore, ~0,
LABEL_SoftStyle, FSF_ITALIC,
LABEL_Text, "(re-run KMS to reflect this change) ",
LABEL_SoftStyle, FS_NORMAL,
LABEL_Text, " ",
TAG_DONE),
..
BTW "LAYOUT_LabelColumn" in autodcos says:
The side where the on which side of the gadget the label will
be placed in the group. Valid values are PLACETEXT_LEFT and
PLACETEXT_RIGHT. See CHILD_Label.
but 'PLACETEXT_' doesn't exists I had to "use" 'LJ_', typo in autodoc?
TIA
Re: italics text in LABEL "cuts" groups bevel on the right s
Posted: Mon Apr 14, 2014 3:47 pm
by xenic
javierdlr wrote:Hi, having a right placed label in a reaction window if text is set in italics the groups bevel gets "cutted" at the right side (part of the last character is drawn into the bevel group), see pic attached. Is it a bug in label.image (bevel group lines)?
The problem may not be in Reaction. When I tested using italics for filenames in Dopus5 listers, the beginning of the line "cuts" the left lister bevel edge. Dopus5 doesn't use Reaction. The problem may be in graphics.library or intuition.library.
Re: italics text in LABEL "cuts" groups bevel on the right s
Posted: Mon Apr 14, 2014 4:48 pm
by ssolie
javierdlr wrote:"Fixed" such issue by adding a blanck sapce at the end...
What are the bug numbers tracking the issues?
Re: italics text in LABEL "cuts" groups bevel on the right s
Posted: Tue Apr 15, 2014 12:32 am
by javierdlr
As I find it today and wasn't sure it was my lame porgramming skills, first posted it here. Anyway filled new BZ #8776.
Maybe has something in common with BZ #1436?