Improve spacing of 7 entries/screen lists

This commit is contained in:
Epicpkmn11
2019-12-21 16:30:24 -06:00
parent e8c5e345c5
commit fb1d00049c
3 changed files with 10 additions and 10 deletions
+2 -2
View File
@@ -123,9 +123,9 @@ void TinyDB::Draw(void) const {
for(int i=0;i<ENTRIES_PER_LIST && i<(int)tinyDBList.size();i++) {
info = tinyDBList[screenPosList + i];
if(screenPosList + i == selection) {
Gui::Draw_Rect(0, 30+(i*25), 320, 30, Config::SelectedColor);
Gui::Draw_Rect(0, (i+1)*27, 320, 25, Config::SelectedColor);
}
Gui::DrawStringCentered(0, 35+(i*25), 0.7f, Config::TxtColor, info, 320);
Gui::DrawStringCentered(0, ((i+1)*27)+1, 0.7f, Config::TxtColor, info, 320);
}
}
}