diff --git a/src/data/field.cpp b/src/data/field.cpp index 7b1763a1..50570ee5 100644 --- a/src/data/field.cpp +++ b/src/data/field.cpp @@ -20,7 +20,7 @@ Field::Field() , card_list_column (-1) , card_list_width (100) , card_list_allow (true) -// , card_list_align (ALIGN_LEFT) + , card_list_align (ALIGN_LEFT) , tab_index (0) {} @@ -38,7 +38,7 @@ IMPLEMENT_REFLECTION(Field) { REFLECT(card_list_column); REFLECT(card_list_width); REFLECT(card_list_allow); -// REFLECT(card_list_align); + REFLECT(card_list_align); REFLECT(tab_index); } diff --git a/src/data/field.hpp b/src/data/field.hpp index b60267ff..502aa534 100644 --- a/src/data/field.hpp +++ b/src/data/field.hpp @@ -11,6 +11,7 @@ #include #include +#include DECLARE_POINTER_TYPE(Field); DECLARE_POINTER_TYPE(Style); @@ -35,9 +36,9 @@ class Field { UInt card_list_width; ///< Width of the card list column (pixels). bool card_list_allow; ///< Is this field allowed to appear in the card list. String card_list_name; ///< Alternate name to use in card list. -// Alignment card_list_align; ///< Alignment of the card list colummn. + Alignment card_list_align; ///< Alignment of the card list colummn. int tab_index; ///< Tab index in editor -// Vector dependendScripts; // scripts that depend on values of this field +// vector dependentScripts; // scripts that depend on values of this field /// Creates a new Value corresponding to this Field /** thisP is a smart pointer to this */ diff --git a/src/data/field/text.cpp b/src/data/field/text.cpp index b5304162..858f39c8 100644 --- a/src/data/field/text.cpp +++ b/src/data/field/text.cpp @@ -7,6 +7,7 @@ // ----------------------------------------------------------------------------- : Includes #include +#include