Merge pull request #1252 from j9ac9k/implement-pr-336
fix-incorrect-tick-text-boundaries-calculation
This commit is contained in:
commit
5f5803264b
@ -853,8 +853,8 @@ class AxisItem(GraphicsWidget):
|
|||||||
interpreted by drawPicture().
|
interpreted by drawPicture().
|
||||||
"""
|
"""
|
||||||
profiler = debug.Profiler()
|
profiler = debug.Profiler()
|
||||||
|
if self.style['tickFont'] is not None:
|
||||||
#bounds = self.boundingRect()
|
p.setFont(self.style['tickFont'])
|
||||||
bounds = self.mapRectFromParent(self.geometry())
|
bounds = self.mapRectFromParent(self.geometry())
|
||||||
|
|
||||||
linkedView = self.linkedView()
|
linkedView = self.linkedView()
|
||||||
|
Loading…
Reference in New Issue
Block a user