Skip to content
  • Tristan Van Berkom's avatar
    Fixed get_size() for GtkCellRendererText to clip to the input area · 9a80100e
    Tristan Van Berkom authored
    For ellipsize cells it's important to clip the result of get_size()
    so that the returned required rectangle is indeed less than or equal
    to the input rectangle... this is done so that GtkCellArea can accurately
    paint focus on cells by calling gtk_cell_renderer_get_aligned_area().
    
    Patch also adds assertions to gtk_cell_renderer_get_aligned_area() to
    ensure this keeps working correctly.
    9a80100e