Locate a button through nested containers

A desktop application places a panel at (48,36)(48,36) relative to the window's client-area origin. Inside that panel, a row begins at (20,14)(20,14) relative to the panel's origin. A button begins at (16,10)(16,10) relative to the row's origin and has width 112 px112\ \text{px} and height 32 px32\ \text{px}.


All measurements use layout pixels, abbreviated px. Positions refer to top-left corners, with xx increasing rightward and yy increasing downward. There is no scrolling, scaling, border thickness or padding to account for. Treat rectangles as continuous layout regions: a right or bottom edge is the starting position plus the width or height, rather than the last occupied pixel.


Complete the table with exact integer coordinates relative to the window's client-area origin.


A button sits inside a row, which sits inside a panel within a window's client area.


PointWindow x (px)Window y (px)
Row top-left
Button top-left
Button bottom-right

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

More Graphical User Interfaces Questions: