niteshmourya / app-inventor-for-android

Automatically exported from code.google.com/p/app-inventor-for-android
Apache License 2.0
1 stars 0 forks source link

Set "Master" text color in blocks editor #770

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
As of now you can set the text color of a label or button in the blocks editor, 
but there should be a "Master Text Color" in the Screen1.Initiate blocks to set 
all text colors to a certain color. I'm trying to make my app fully 
customizable by the user. This would really help!

Original issue reported on code.google.com by chrisyu...@gmail.com on 22 Nov 2010 at 5:10

GoogleCodeExporter commented 9 years ago
You can do this via a procedure with arguments.  See attached picture for an 
example.  Use the call to the procedure to change the text color of every 
element listed to one specific color, then you can change a color of an 
individual element in an event, like my btnPause.Click event.

Original comment by stevo...@gmail.com on 24 Nov 2010 at 2:45

Attachments:

GoogleCodeExporter commented 9 years ago
Thnx for the tip, but would still like to see this feature. It would help in 
large apps to save space in the blocks editor.

Original comment by chrisyu...@gmail.com on 24 Nov 2010 at 4:04

GoogleCodeExporter commented 9 years ago
I agree that this should be a global setting (changing each field one-by-one in 
the designer side is a pain in the....).

Right now I have to add each title to my "SetTitleColor" function, each label 
to my "SetLabelColor" function, and each text field to the "SetValueColor" 
function.  If I miss one, it's the odd man out that doesn't get the color set 
correctly.

It would be nice to be able to set all labels to a color, all of the buttons to 
a color, all of the password text and regular text boxes to a single color 
using the Screen1.initialize.

I've attached a screenshot of what I have to do right now at start, then each 
time the user wants to switch from the "dark" color scheme to the "light" color 
scheme (a.k.a. night mode/day mode).

Original comment by humm...@gmail.com on 2 Aug 2011 at 5:40

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by weihuali...@gmail.com on 17 Mar 2012 at 4:51