We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 52c34b2 commit cd1d87cCopy full SHA for cd1d87c
Orange/widgets/visualize/owradviz.py
@@ -275,6 +275,11 @@ def update_anchors(self):
275
anchor.setAngle(angle + 180)
276
anchor.setAnchor((1, 0.5))
277
278
+ anchor.textItem.setTextWidth(anchor.textItem.boundingRect().width())
279
+ option = anchor.textItem.document().defaultTextOption()
280
+ option.setAlignment(Qt.AlignRight)
281
+ anchor.textItem.document().setDefaultTextOption(option)
282
+
283
self.plot_widget.addItem(anchor)
284
self.anchor_items.append(anchor)
285
0 commit comments