next up previous contents index
Next: Label Font File Up: The label Button: Create/Edit Previous: Script Labels   Contents   Index

Label Size Issues

In electrical mode, property text labels with text size longer than a certain length are not displayed; a small box at the text origin is displayed instead. The label text can be shrunk (with the Stretch command in the Edit Menu or with button 1 operations) to make it visible. The Info command in the View Menu can be used to see the text of a non-visible label.

Non-visible labels can be selected only over the small box, and only the small box is highlighted. However, when moving or stretching, the entire ``real'' bounding box is highlighted.

The size threshold can be changed with the variable MaxPrpLabelLen. This can be set to an integer greater than 6 with the !set command, and the units are the width of a default-size character cell. In releases prior to 2.5.66, the default length was 32 default character size cells. In this and later releases, the value is 256 character cells. The larger threshold makes the nondisplay of label text much less probable, as this feature has been confusing to users.

A better way to obscure a long label is to convert it to a ``long text'' label.

To ``hide'' a label using the ``long text'' feature:

  1. Select the label.
  2. Press the side menu label button (with the black `T' icon).
  3. Press the gray L button that appears to the left of the prompt line. This will cause the text editor to appear, loaded with the label text. If there is no L button, then the property can't use long text, which is true for properties that are ``always'' short, such as for device and model names.
  4. In the text editor, press Save in the File menu. The editor will disappear, and the label displayed on-screen will have changed to ``[text]''.

To convert back to a normal label:

  1. Select the long-text label (``[text]'').
  2. Press the side menu label button (with the black 'T' icon).
  3. With the cursor under ``[text]'' on the prompt line, press the Delete key. The full label text will appear on the prompt line.
  4. Press Enter. The label will be shown normally.

Long property text labels can also be broken into multiple lines by adding embedded returns. These are added with Shift-Enter while the string is being edited. Note that this generates newlines in the SPICE output, so that in most cases the extra lines should begin with the ``+'' continuation character.


next up previous contents index
Next: Label Font File Up: The label Button: Create/Edit Previous: Script Labels   Contents   Index
Stephen R. Whiteley 2006-10-23