Fix padding

This commit is contained in:
Gabriel Tofvesson 2024-10-12 05:35:46 +02:00
parent d623d338d7
commit bd2f688914

View File

@ -566,7 +566,7 @@ local PAGES = {
dataRequestText:setText(requestText)
dataDividerPad:setPadding{
left = math.floor((state.width - 1 - (PADDING_RQC_H * 2) - #requestText - #availableText) / 2),
left = math.ceil((state.width - 1 - (PADDING_RQC_H * 2) - #requestText - #availableText) / 2),
right = math.floor((state.width - 1 - (PADDING_RQC_H * 2) - #requestText - #availableText) / 2)
}
dataAvailableText:setText(availableText)