Set overhang to 115, adjust logo, typo

This commit is contained in:
Charles Ewert 2019-10-13 05:02:40 -04:00
parent f82f6a863c
commit 4e356e6030

View File

@ -4,7 +4,7 @@ function nodeEventQ(msg, field as string) as boolean
return type(msg) = "roSGNodeEvent" and msg.getField() = field return type(msg) = "roSGNodeEvent" and msg.getField() = field
end function end function
function getMsgRowTarget(msg, subnode="" as string) as object function getMsgRowTarget(msg, subnode = "" as string) as object
node = msg.getRoSGNode() node = msg.getRoSGNode()
' Subnode allows for handling alias messages ' Subnode allows for handling alias messages
if subnode <> "" if subnode <> ""
@ -36,12 +36,13 @@ sub themeScene(scene)
if overhang <> invalid if overhang <> invalid
overhang.logoUri = "pkg:/images/logo.png" overhang.logoUri = "pkg:/images/logo.png"
overhang.logoBaselineOffset = 7.5 overhang.logoBaselineOffset = 20
overhang.showOptions = true overhang.showOptions = true
overhang.height = 115
if options <> invalid if options <> invalid
overhang.optionsAvailable = true overhang.optionsAvailable = true
else else
overhang.optionsAvailalbe = false overhang.optionsAvailable = false
end if end if
end if end if
end sub end sub
@ -53,7 +54,7 @@ function leftPad(base as string, fill as string, length as integer) as string
return base return base
end function end function
function make_dialog(message="" as string) function make_dialog(message = "" as string)
' Takes a string and returns an object for dialog popup ' Takes a string and returns an object for dialog popup
dialog = createObject("roSGNode", "Dialog") dialog = createObject("roSGNode", "Dialog")
dialog.id = "popup" dialog.id = "popup"