What features should we add to Corona?

emboss=true button text should fade properly

Currently if you set emboss=true when creating a button object, and then fade that button object using alpha values, the embossed text doesn't fade properly.

Simple test case (requires some kind of button image file):

local widget = require "widget"
local composer = require( "composer" )
local scene = composer.newScene()

local aboutBN = widget.newButton{
label="Embossed Button Text",
labelColor = { default={ 0, 0, 0 }, over={ 0, 0, 0, 0.5 } },
defaultFile="ButtonBig.png",
overFile="ButtonBig_down.png",
width=154, height=40,
x = display.contentCenterX,
y = display.contentCenterY + 120,
emboss=true,
alpha = 0
}
aboutBN.alpha=0

transition.to(aboutBN, {alpha=1, time=5000, delay=500})
transition.to(aboutBN, {alpha=0, time=5000, delay=5500})

2 votes
Sign in
Check!
(thinking…)
Reset
or sign in with
  • facebook
  • google
    Password icon
    Signed in as (Sign out)

    We’ll send you updates on this idea

    dustin sacks shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

    11 comments

    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      Signed in as (Sign out)
      Submitting...

      Feedback and Knowledge Base