fixed too large shift exponent used in DataGridWidget

This commit is contained in:
thrust26 2020-11-08 19:18:53 +01:00
parent 47ad90e870
commit 6f2de22789
1 changed files with 2 additions and 2 deletions

View File

@ -128,12 +128,12 @@ RiotWidget::RiotWidget(GuiObject* boss, const GUI::Font& lfont,
readNames[row]); readNames[row]);
} }
xpos += t->getWidth() + 5; xpos += t->getWidth() + 5;
myTimRead = new DataGridWidget(boss, nfont, xpos, ypos, 1, 4, 4, 32, Common::Base::Fmt::_16); myTimRead = new DataGridWidget(boss, nfont, xpos, ypos, 1, 4, 4, 30, Common::Base::Fmt::_16);
myTimRead->setTarget(this); myTimRead->setTarget(this);
myTimRead->setEditable(false); myTimRead->setEditable(false);
ypos += myTimRead->getHeight() - 1; ypos += myTimRead->getHeight() - 1;
myTimDivider = new DataGridWidget(boss, nfont, xpos, ypos, 1, 1, 4, 32, Common::Base::Fmt::_10_4); myTimDivider = new DataGridWidget(boss, nfont, xpos, ypos, 1, 1, 4, 12, Common::Base::Fmt::_10_4);
myTimDivider->setTarget(this); myTimDivider->setTarget(this);
myTimDivider->setEditable(false); myTimDivider->setEditable(false);