Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/ui/src/label.c

    ra0aeb8f r4583015  
    215215
    216216        gfx_text_fmt_init(&fmt);
     217        fmt.font = label->res->font;
    217218        fmt.color = label->res->wnd_text_color;
    218219        fmt.halign = label->halign;
    219         fmt.valign = gfx_valign_top;
    220 
    221         rc = gfx_puttext(label->res->font, &pos, &fmt, label->text);
     220        fmt.valign = label->valign;
     221
     222        rc = gfx_puttext(&pos, &fmt, label->text);
    222223        if (rc != EOK)
    223224                goto error;
Note: See TracChangeset for help on using the changeset viewer.