mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-07-26 09:21:37 +00:00
RichResourceText QTextDocument should use parent widget's font
* Otherwise the hit-testing might be off
This commit is contained in:
@@ -152,6 +152,7 @@ struct RichResourceText
|
||||
|
||||
doc.setDocumentMargin(0);
|
||||
doc.setHtml(html);
|
||||
doc.setDefaultFont(widget->font());
|
||||
|
||||
if(doc.blockCount() != fragmentIndexFromBlockIndex.count())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user