Ignore:
File:
1 edited

Legend:

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

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