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})

3 votes
Vote
Sign in
Check!
(thinking…)
Reset
or sign in with
  • facebook
  • google
    Password icon
    I agree to the terms of service
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    dustin sacks shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

    1 comment

    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      I agree to the terms of service
      Signed in as (Sign out)
      Submitting...
      • Lila Luna commented  ·   ·  Flag as inappropriate

        I really appreciate this post. I’ve been looking all over for this! Thank goodness I found it on this blog . I really admire your work and i hope in future i will return for more info. like this one! Thanks again! I have some good work experience with best essay writing service ( https://www.buybestessaysonline.com )and my words are clearly based on what I felt through such processes in the past.

      Feedback and Knowledge Base