mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
feat: horizontal scroll
This commit is contained in:
parent
2448869bf9
commit
863cc923a0
4 changed files with 26 additions and 19 deletions
|
|
@ -452,7 +452,7 @@ void TextBox::refreshLabel() {
|
|||
uint height = label->getLinesNumber() * rawTextCache.metrics.lineHeight *
|
||||
label->getLineInterval();
|
||||
label->setSize(glm::vec2(label->getSize().x, height));
|
||||
actualLength = height;
|
||||
actualLengthY = height;
|
||||
} else {
|
||||
setScrollable(false);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue