example(table): fix text alignment

This commit is contained in:
Gabor Kiss-Vamosi
2021-12-22 21:18:01 +01:00
parent 2392f585bb
commit b03dc9cf86

View File

@@ -18,7 +18,7 @@ static void draw_part_event_cb(lv_event_t * e)
}
/*In the first column align the texts to the right*/
else if(col == 0) {
dsc->label_dsc->flag = LV_TEXT_ALIGN_RIGHT;
dsc->label_dsc->align = LV_TEXT_ALIGN_RIGHT;
}
/*MAke every 2nd row grayish*/