X offset for the first label column, just right of the symbol outline.
(self)
| 551 | # ── property helpers ────────────────────────────────────────────────────── |
| 552 | |
| 553 | def _label_x(self) -> float: |
| 554 | """X offset for the first label column, just right of the symbol outline.""" |
| 555 | tight = SYMBOL_TIGHT_RECT.get(self.symbol_name) |
| 556 | if tight: |
| 557 | x0, _y0, w, _h = tight |
| 558 | right = x0 + w |
| 559 | if right > 0: |
| 560 | return right + _LABEL_MARGIN |
| 561 | return _DEFAULT_LABEL_X |
| 562 | |
| 563 | def _all_prop_keys(self) -> list[str]: |
| 564 | """Ordered list of every key that can be displayed as a label, in the |