-
Notifications
You must be signed in to change notification settings - Fork 102
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Size of text rectangles not calculated correctly #19
Comments
OK, So maybe it is a font issue on Linux. QHexView::QHexView(QWidget *parent) : QAbstractScrollArea(parent), m_document(NULL), m_renderer(NULL), m_readonly(false) |
It looks like a Qt bug:
The workaround is more or less the one posted by you:
I can add it to the widget...thanks for reporting! |
OK. It looks like it fixed the Issue.
Does not work. :-( Maybe some kind of repaint() is required.... |
Actually,
|
As you can see from image the width of the texts are not correct.
I just try to set the document from a file.
QHexView *pcntwgt = dynamic_cast<QHexView >(centralWidget());
QHexDocument document = QHexDocument::fromFile(fileName);
pcntwgt->setDocument(document);
The text was updated successfully, but these errors were encountered: