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

Changeset 400a16d in mainline for uspace/lib/ui/src/wdecor.c


Ignore:
Timestamp:
2021-09-03T09:27:57Z (6 weeks ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
master
Children:
81d3612
Parents:
f7c12b3
git-author:
Jiri Svoboda <jiri@…> (2021-09-02 17:26:05)
git-committer:
Jiri Svoboda <jiri@…> (2021-09-03 09:27:57)
Message:

Clarify right/bottom-aligned text position and fix off-by-ones

File:
1 edited

Legend:

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

    rf7c12b3 r400a16d  
    345345                        geom->title_bar_rect.p0 = geom->interior_rect.p0;
    346346                        geom->title_bar_rect.p1.x = geom->interior_rect.p1.x;
    347                         geom->title_bar_rect.p1.y = geom->interior_rect.p0.y
    348                             + wdecor_tbar_h;
     347                        geom->title_bar_rect.p1.y = geom->interior_rect.p0.y +
     348                            wdecor_tbar_h;
    349349                }
    350350
Note: See TracChangeset for help on using the changeset viewer.