Fix padding
This commit is contained in:
parent
d623d338d7
commit
bd2f688914
@ -566,7 +566,7 @@ local PAGES = {
|
|||||||
|
|
||||||
dataRequestText:setText(requestText)
|
dataRequestText:setText(requestText)
|
||||||
dataDividerPad:setPadding{
|
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)
|
right = math.floor((state.width - 1 - (PADDING_RQC_H * 2) - #requestText - #availableText) / 2)
|
||||||
}
|
}
|
||||||
dataAvailableText:setText(availableText)
|
dataAvailableText:setText(availableText)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user