Drop Size: WxH line from InfoPanel — bookmarks/library never had width/height plumbed and just showed 0x0
This commit is contained in:
parent
eb58d76bc0
commit
bad3e897a1
@ -209,14 +209,12 @@ class InfoPanel(QWidget):
|
|||||||
source_html = source_display
|
source_html = source_display
|
||||||
from html import escape
|
from html import escape
|
||||||
self._details.setText(
|
self._details.setText(
|
||||||
f"Size: {post.width}x{post.height}\n"
|
|
||||||
f"Score: {post.score}\n"
|
f"Score: {post.score}\n"
|
||||||
f"Rating: {post.rating or 'unknown'}\n"
|
f"Rating: {post.rating or 'unknown'}\n"
|
||||||
f"Filetype: {filetype}"
|
f"Filetype: {filetype}"
|
||||||
)
|
)
|
||||||
self._details.setTextFormat(Qt.TextFormat.RichText)
|
self._details.setTextFormat(Qt.TextFormat.RichText)
|
||||||
self._details.setText(
|
self._details.setText(
|
||||||
f"Size: {post.width}x{post.height}<br>"
|
|
||||||
f"Score: {post.score}<br>"
|
f"Score: {post.score}<br>"
|
||||||
f"Rating: {escape(post.rating or 'unknown')}<br>"
|
f"Rating: {escape(post.rating or 'unknown')}<br>"
|
||||||
f"Filetype: {filetype}<br>"
|
f"Filetype: {filetype}<br>"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user