MCPcopy Index your code
hub / github.com/SLiCAP/SLiCAP_python / display_width

Method display_width

SLiCAP/schematic/parameter_dialog.py:332–335  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

330 return self._svg_bytes
331
332 def display_width(self) -> int:
333 if self._natural_w:
334 return max(1, round(self._natural_w * self._scale_spin.value() / 100))
335 return 200
336
337 def display_height(self) -> int:
338 if self._natural_h:

Callers 1

_on_place_parametersMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected