Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PyQt5/PyQt
/ onLinesChanged
Method
onLinesChanged
Test/ChartView/ChatWidget.py:88–89 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
86
self.linesChanged.connect(self.onLinesChanged)
87
88
def
onLinesChanged(self):
89
self.setMarginWidth(0, self.fontMetrics().width(str(self.lines())) + 6)
90
91
def
init(self):
92
self.setUtf8(True)
Callers
nothing calls this directly
Calls
1
width
Method · 0.45
Tested by
no test coverage detected