In a DrawRect with a title, the title text is not correctly vertically centered in the rectangle in Chrome 79.
However, this used to work correctly (the text was correctly vertically aligned) in older versions of Chrome (for example Chrome 67).
A) Please try the following code in the Feature Explorer version 12 in the latest Chrome version: https://www.smartclient.com/smartcli...d=ShapeGallery
B) Please try the following code in the Feature Explorer version 12 in a portable version of Chrome.
See figure drawRect_title-01.png for examples of this code rendered in Chrome 79 (broken), 72 (broken), and 67 (works); and in IE 11 (works).
Browser: Chrome 79
SmartClient versions: 11.1 and 12.0 (We use SmartClient 11.1 in our production code.)
Thanks much.
However, this used to work correctly (the text was correctly vertically aligned) in older versions of Chrome (for example Chrome 67).
A) Please try the following code in the Feature Explorer version 12 in the latest Chrome version: https://www.smartclient.com/smartcli...d=ShapeGallery
B) Please try the following code in the Feature Explorer version 12 in a portable version of Chrome.
See figure drawRect_title-01.png for examples of this code rendered in Chrome 79 (broken), 72 (broken), and 67 (works); and in IE 11 (works).
Code:
var mainPane = isc.DrawPane.create({ autoDraw: false, showEdges: true, width: 720, height: 475 }); var commonProps = { autoDraw: true, drawPane: mainPane, canDrag: true, titleRotationMode: "neverRotate" }; isc.DrawRect.create({ left: 30, top: 30, width: 120, height: 30, fillColor: "#AAA", lineColor: "#00F", lineWidth: 1, title: "yABCabc123ygq", showTitleLabelBackground: true, titleLabelPadding: 1 }, commonProps); isc.HStack.create({ width: "100%", members: [mainPane] });
SmartClient versions: 11.1 and 12.0 (We use SmartClient 11.1 in our production code.)
Thanks much.
Comment