Browse Source

Minor improvements.

cl-refactor
Gav Wood 11 years ago
parent
commit
ec0c05186e
  1. 2
      alethzero/Main.ui
  2. 2
      alethzero/MiningView.cpp

2
alethzero/Main.ui

@ -1256,7 +1256,7 @@ font-size: 14pt</string>
<item>
<widget class="QLineEdit" name="jsInput">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="MinimumExpanding">
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>

2
alethzero/MiningView.cpp

@ -93,7 +93,7 @@ void MiningView::paintEvent(QPaintEvent*)
Grapher g;
QPainter p(this);
g.init(&p, make_pair(0.f, max<float>(m_duration * 0.1f, m_values.size() * 0.1f)), make_pair(m_progress.requirement, 256.f), ms, id, msL);
g.init(&p, make_pair(0.f, max<float>(m_duration * 0.1f, m_values.size() * 0.1f)), make_pair(m_progress.requirement - 4, 256.f), ms, id, msL);
g.drawAxes();
g.setDataTransform(0.1, 0);

Loading…
Cancel
Save