sillsdev / solid

Solid is a software tool that can be used to check, clean up, and convert Standard Format (e.g. Toolbox) lexicon data.
MIT License
1 stars 2 forks source link

bug: marker settings dialog label text is truncated for longer marker names #25

Closed megahirt closed 2 months ago

megahirt commented 3 months ago

Longer marker names cause a text label to be cut off, potentially making it hard to understand what the label means.

e.g.

image

The label text should read: Under lx, marker_for_a_different_purpose can occur...

There are a few different ways we could make this better:

@bbryson do you have thoughts on this?

bbryson commented 3 months ago

I vote for "expand cutoff area" if that is easy. In the two screenshots, notice that where it got cut off is different, because one says "After lx, marker..." and the other says "After , marker...." The latter is because I hadn't chosen a parent marker (e.g., lx) for it yet. If the parent marker I chose had a longer name then lx, the cutoff would have been even earlier.

josephmyers commented 3 months ago

I just changed the text to a label and gave it word-wrapping. So it will now wrap to a second line!

megahirt commented 3 months ago

would love to have a screenshot or screencast demo of this!

josephmyers commented 3 months ago

image