mirror of
https://github.com/rizinorg/cutter.git
synced 2024-12-24 05:45:27 +00:00
Improve XREF window size and locations (#1049)
This commit is contained in:
parent
4505d187c4
commit
2ccf58f0a6
@ -18,6 +18,9 @@ XrefsDialog::XrefsDialog(QWidget *parent) :
|
|||||||
ui->setupUi(this);
|
ui->setupUi(this);
|
||||||
setWindowFlags(windowFlags() & (~Qt::WindowContextHelpButtonHint));
|
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
|
// Increase asm text edit margin
|
||||||
QTextDocument *asm_docu = ui->previewTextEdit->document();
|
QTextDocument *asm_docu = ui->previewTextEdit->document();
|
||||||
asm_docu->setDocumentMargin(10);
|
asm_docu->setDocumentMargin(10);
|
||||||
|
@ -6,8 +6,8 @@
|
|||||||
<rect>
|
<rect>
|
||||||
<x>0</x>
|
<x>0</x>
|
||||||
<y>0</y>
|
<y>0</y>
|
||||||
<width>700</width>
|
<width>1131</width>
|
||||||
<height>350</height>
|
<height>567</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<property name="windowTitle">
|
<property name="windowTitle">
|
||||||
|
Loading…
Reference in New Issue
Block a user