Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SmingHub/Sming
/ setWidth
Method
setWidth
Sming/Components/Storage/Tools/hwconfig/editor.py:715–716 ·
view source on GitHub ↗
(self, w)
Source
from the content-addressed store, hash-verified
713
return
self.x2 - self.x
714
715
def
setWidth(self, w):
716
self.x2 = self.x + w
717
718
def
getHeight(self):
719
return
self.y2 - self.y
Callers
1
update
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected