Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PyQt5/PyQtClient
/ heightForWidth
Method
heightForWidth
Widgets/Layouts/FlowLayout.py:105–107 ·
view source on GitHub ↗
(self, width)
Source
from the content-addressed store, hash-verified
103
return
True
104
105
def
heightForWidth(self, width):
106
height = self.doLayout(QRect(0, 0, width, 0), True)
107
return
height
108
109
def
setGeometry(self, rect):
110
super(FlowLayout, self).setGeometry(rect)
Callers
nothing calls this directly
Calls
1
doLayout
Method · 0.95
Tested by
no test coverage detected