Fixed a grid layout issue for the virtual keyboard.

This commit is contained in:
Leon Styhre 2021-11-13 15:31:44 +01:00
parent fa17d8df66
commit 4cf291798a

View file

@ -237,7 +237,7 @@ GuiTextEditKeyboardPopup::GuiTextEditKeyboardPopup(
}
}
mGrid.setEntry(mKeyboardGrid, glm::ivec2{0, yPos + 1}, true, true, glm::ivec2{2, 4});
mGrid.setEntry(mKeyboardGrid, glm::ivec2{0, yPos + 1}, true, true, glm::ivec2{1, 4});
float textHeight = mText->getFont()->getHeight();
// If the multiLine option has been set, then include three lines of text on screen.