From 6f2de227898ad4d573fbb22e02248b2c744033bb Mon Sep 17 00:00:00 2001 From: thrust26 Date: Sun, 8 Nov 2020 19:18:53 +0100 Subject: [PATCH] fixed too large shift exponent used in DataGridWidget --- src/debugger/gui/RiotWidget.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/debugger/gui/RiotWidget.cxx b/src/debugger/gui/RiotWidget.cxx index 20c04326c..73a70391f 100644 --- a/src/debugger/gui/RiotWidget.cxx +++ b/src/debugger/gui/RiotWidget.cxx @@ -128,12 +128,12 @@ RiotWidget::RiotWidget(GuiObject* boss, const GUI::Font& lfont, readNames[row]); } 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->setEditable(false); 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->setEditable(false);