Improve XREF window size and locations (#1049)

This commit is contained in:
Itay Cohen 2019-01-02 21:58:02 +02:00 committed by GitHub
parent 4505d187c4
commit 2ccf58f0a6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 2 deletions

View File

@ -18,6 +18,9 @@ XrefsDialog::XrefsDialog(QWidget *parent) :
ui->setupUi(this);
setWindowFlags(windowFlags() & (~Qt::WindowContextHelpButtonHint));
// Modify the splitter's location to show more Disassembly instead of empty space. Not possible via Designer
ui->splitter->setSizes(QList<int>() << 100 << 200);
// Increase asm text edit margin
QTextDocument *asm_docu = ui->previewTextEdit->document();
asm_docu->setDocumentMargin(10);

View File

@ -6,8 +6,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>700</width>
<height>350</height>
<width>1131</width>
<height>567</height>
</rect>
</property>
<property name="windowTitle">