From bd2f688914aea0a2d51e1493a18f91c01e0dfa29 Mon Sep 17 00:00:00 2001 From: Gabriel Tofvesson Date: Sat, 12 Oct 2024 05:35:46 +0200 Subject: [PATCH] Fix padding --- itemcontroller.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/itemcontroller.lua b/itemcontroller.lua index 0333e5b..edc08e8 100644 --- a/itemcontroller.lua +++ b/itemcontroller.lua @@ -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)