ID:1775416
 
Resolved
Text in buttons did not appear correctly if they were sized when is-visible was off.
BYOND Version:507
Operating System:Windows 7 Pro 64-bit
Web Browser:Chrome 40.0.2214.94
Applies to:Webclient
Status: Resolved (507.1275)

This issue has been resolved.
507.1272
Descriptive Problem Summary:
Text in button shifts upward after is-visible state changes

Numbered Steps to Reproduce Problem:
Create a project and add an interface
Add a button that is 128x58
Change the font to be 17pt Bold Calibri
On button click, toggle the button visibility with a basic winset calls.

Code Snippet (if applicable) to Reproduce Problem:
winset(p.m_Mob, "GamePane.EndTurnButton", "is-visible=true")


Expected Results:
Text doesn't change position.

Actual Results:
Text shifts up

Does the problem occur:
Doesn't seem to repro until the visibility changes but I'm wondering if it changes after the button gets clicked.

When does the problem NOT occur?
Doesn't seem to happen on the initial rendering.

Workarounds:
Use images.


Lummox JR resolved issue with message:
Text in buttons did not appear correctly if they were sized when is-visible was off.