Skip to content

Commit

Permalink
Silhouette Plot: Fix needless eliding
Browse files Browse the repository at this point in the history
  • Loading branch information
janezd committed Jan 9, 2023
1 parent 90e9946 commit 8f7e485
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Orange/widgets/utils/graphicstextlist.py
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ def __naturalsh(self) -> QSizeF:
fm = QFontMetrics(self.font())
spacing = self.__spacing
N = self.count()
width = self.__width_for_font(self.font())
width = self.__width_for_font(self.font()) + 1
if self.has_color_strip():
width += int(round((fm.height() + spacing) * 1.3))
height = N * fm.height() + max(N - 1, 0) * spacing
Expand Down

0 comments on commit 8f7e485

Please sign in to comment.