extend the title version widget to show longer version strings

develop
Myk Taylor 2023-06-05 19:49:17 -07:00
parent 95b9cb0ab3
commit 258b647ef6
No known key found for this signature in database
GPG Key ID: 8A39CA0FA0C16E78
1 changed files with 4 additions and 0 deletions

@ -597,6 +597,10 @@ function TitleVersionOverlay:init()
table.insert(text, {text='Pre-release build', pen=COLOR_LIGHTRED})
end
for _,t in ipairs(text) do
self.frame.w = math.max(self.frame.w, #t)
end
self:addviews{
widgets.Label{
frame={t=0, l=0},