mirror of
https://github.com/esphome/esphome.git
synced 2024-11-28 12:46:22 +01:00
clang-format fixes
This commit is contained in:
parent
e40277aa56
commit
b1b85cdada
@ -11,7 +11,8 @@ static const char *const TAG = "horizontalstack";
|
||||
|
||||
void HorizontalStack::dump_config(int indent_depth, int additional_level_depth) {
|
||||
ESP_LOGCONFIG(TAG, "%*sItem Padding: %i", indent_depth, "", this->item_padding_);
|
||||
ESP_LOGCONFIG(TAG, "%*sChild alignment: %s", indent_depth, "", LOG_STR_ARG(vertical_child_align_to_string(this->child_align_)));
|
||||
ESP_LOGCONFIG(TAG, "%*sChild alignment: %s", indent_depth, "",
|
||||
LOG_STR_ARG(vertical_child_align_to_string(this->child_align_)));
|
||||
ESP_LOGCONFIG(TAG, "%*sChildren: %i", indent_depth, "", this->children_.size());
|
||||
|
||||
for (LayoutItem *child : this->children_) {
|
||||
|
@ -14,7 +14,8 @@ static const int TEXT_ALIGN_Y_MASK =
|
||||
|
||||
void TextPanel::dump_config(int indent_depth, int additional_level_depth) {
|
||||
std::string text = this->text_.value();
|
||||
ESP_LOGCONFIG(TAG, "%*sText Align: %s", indent_depth, "", LOG_STR_ARG(display::text_align_to_string(this->text_align_)));
|
||||
ESP_LOGCONFIG(TAG, "%*sText Align: %s", indent_depth, "",
|
||||
LOG_STR_ARG(display::text_align_to_string(this->text_align_)));
|
||||
ESP_LOGCONFIG(TAG, "%*sText: %s", indent_depth, "", text.c_str());
|
||||
}
|
||||
|
||||
|
@ -15,7 +15,8 @@ static const int TEXT_ALIGN_Y_MASK =
|
||||
void TextRunPanel::dump_config(int indent_depth, int additional_level_depth) {
|
||||
ESP_LOGCONFIG(TAG, "%*sMin Width: %i", indent_depth, "", this->min_width_);
|
||||
ESP_LOGCONFIG(TAG, "%*sMax Width: %i", indent_depth, "", this->max_width_);
|
||||
ESP_LOGCONFIG(TAG, "%*sText Align: %s", indent_depth, "", LOG_STR_ARG(display::text_align_to_string(this->text_align_)));
|
||||
ESP_LOGCONFIG(TAG, "%*sText Align: %s", indent_depth, "",
|
||||
LOG_STR_ARG(display::text_align_to_string(this->text_align_)));
|
||||
ESP_LOGCONFIG(TAG, "%*sText Runs: %i", indent_depth, "", this->text_runs_.size());
|
||||
for (TextRun *run : this->text_runs_) {
|
||||
std::string text = run->text_.value();
|
||||
|
@ -11,7 +11,8 @@ static const char *const TAG = "verticalstack";
|
||||
|
||||
void VerticalStack::dump_config(int indent_depth, int additional_level_depth) {
|
||||
ESP_LOGCONFIG(TAG, "%*sItem Padding: %i", indent_depth, "", this->item_padding_);
|
||||
ESP_LOGCONFIG(TAG, "%*sChild alignment: %s", indent_depth, "", LOG_STR_ARG(horizontal_child_align_to_string(this->child_align_)));
|
||||
ESP_LOGCONFIG(TAG, "%*sChild alignment: %s", indent_depth, "",
|
||||
LOG_STR_ARG(horizontal_child_align_to_string(this->child_align_)));
|
||||
ESP_LOGCONFIG(TAG, "%*sChildren: %i", indent_depth, "", this->children_.size());
|
||||
|
||||
for (LayoutItem *child : this->children_) {
|
||||
|
Loading…
Reference in New Issue
Block a user