DreamSourceLab / DSView

An open source multi-function instrument for everyone
www.dreamsourcelab.com
GNU General Public License v3.0
1.13k stars 416 forks source link

Protocol "Decoder Options" window - increase width #797

Open dshadoff opened 2 months ago

dshadoff commented 2 months ago

When using a custom decoder, along with a capture where the signals have been annotated, the Decoder Options window can become too narrow.

The presentation includes the protocol's signal name (in bold), plus a friendly name (in brackets), and should have enough space to hold annotated signal names in the pull-down section; this becomes very tight for some protocols.

This leads protocol authors to abbreviate the friendly name (and sometimes the protocol signal name) in order to accommodate the annotated signal name.

Since this window appears to be a fixed-width (and narrow), I think it would be fine to simply add about 25% (roughly) to its width; it's not necessary to dynamically calculate it.

image