projects
/
frida
/
frida.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f47f71f
)
Fix width of basic blocks
author
Christoph Egger
<Christoph.Egger@fau.de>
Fri, 6 Feb 2015 15:13:22 +0000
(16:13 +0100)
committer
Christoph Egger
<Christoph.Egger@fau.de>
Fri, 6 Feb 2015 15:13:22 +0000
(16:13 +0100)
src/gui/widgets/BasicBlockWidget.cxx
patch
|
blob
|
history
diff --git
a/src/gui/widgets/BasicBlockWidget.cxx
b/src/gui/widgets/BasicBlockWidget.cxx
index 2880af34a8cf2ff23ca13798d1f81291aa3ee99b..5dc27ce40efc5760e736dcd3241292e6bd047b7d 100644
(file)
--- a/
src/gui/widgets/BasicBlockWidget.cxx
+++ b/
src/gui/widgets/BasicBlockWidget.cxx
@@
-56,7
+56,7
@@
void BasicBlockWidget::addItem(uint8_t* bytes, size_t num_bytes,
_layout.addWidget(instruction_label, current_row, 1);
instruction_label->setVisible(true);
- width = 12 + _widget.
sizeHin
t().width();
+ width = 12 + _widget.
childrenRec
t().width();
height = 25 + _widget.childrenRect().height();
if (width < 250) width = 250;