Move placeholder color to theme item
This commit is contained in:
parent
78e3e65e7c
commit
1cd1df5dc3
10 changed files with 27 additions and 46 deletions
|
|
@ -251,8 +251,6 @@ private:
|
|||
Point2 ime_selection;
|
||||
|
||||
// Placeholder
|
||||
float placeholder_alpha = 0.6;
|
||||
|
||||
String placeholder_text = "";
|
||||
Array placeholder_bidi_override;
|
||||
Ref<TextParagraph> placeholder_data_buf;
|
||||
|
|
@ -525,6 +523,7 @@ private:
|
|||
int font_size = 16;
|
||||
Color font_color = Color(1, 1, 1);
|
||||
Color font_readonly_color = Color(1, 1, 1);
|
||||
Color font_placeholder_color = Color(1, 1, 1, 0.6);
|
||||
|
||||
int outline_size = 0;
|
||||
Color outline_color = Color(1, 1, 1);
|
||||
|
|
@ -684,9 +683,6 @@ public:
|
|||
void set_placeholder(const String &p_text);
|
||||
String get_placeholder() const;
|
||||
|
||||
void set_placeholder_alpha(float p_alpha);
|
||||
float get_placeholder_alpha() const;
|
||||
|
||||
void set_line(int p_line, const String &p_new_text);
|
||||
String get_line(int p_line) const;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue