Skip to content

gs-description-box: Set minimum hidden lines

Milan Crha requested to merge wip/gs-description-box-Set-min-hidden-lines into main

Have a limit how many lines should be hidden at least, to not cut the text for example with one additional line, which loses purpose of the "Show More" button, because the button itself uses more vertical space than the single hidden line.


Example apps:

  • xemu - it hides only one line - no button is shown
  • audacious - it has three lines of the hidden text (the proposed limit) - it shows the Show More button

Merge request reports