MCPcopy Create free account
hub / github.com/SLiCAP/SLiCAP_python / display_width

Method display_width

SLiCAP/schematic/model_dialog.py:377–380  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

375 return self._svg_bytes
376
377 def display_width(self) -> int:
378 if self._natural_w:
379 return max(1, round(self._natural_w * self._scale_spin.value() / 100))
380 return 200
381
382 def display_height(self) -> int:
383 if self._natural_h:

Callers 2

mouseDoubleClickEventMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected