Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset 5a68791 in mainline


Ignore:
Timestamp:
2021-02-02T10:58:33Z (4 weeks ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
master
Children:
ef734b7
Parents:
f14a900
git-author:
Jiri Svoboda <jiri@…> (2021-02-01 20:57:50)
git-committer:
Jiri Svoboda <jiri@…> (2021-02-02 10:58:33)
Message:

Fix radio button label alignment

File:
1 edited

Legend:

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

    rf14a900 r5a68791  
    281281        /* Label position */
    282282        pos.x = center.x + rbutton_oframe_r + rbutton_label_margin;
    283         pos.y = (rbutton->rect.p0.y + rbutton->rect.p1.y) / 2;
     283        pos.y = center.y;
    284284
    285285        gfx_text_fmt_init(&fmt);
Note: See TracChangeset for help on using the changeset viewer.