Skip to content
  • Allison Karlitskaya's avatar
    GtkTreeViewColumn: start padding at 0 · e3b9ea5a
    Allison Karlitskaya authored
    If we start with a padding of -1 then it can leak out of the size
    allocation request for the column when the treeview is empty.  The
    GtkTreeView will then collect these -1 values and add them together,
    returning -n where 'n' is the number of columns.
    
    This is usually not a problem because treeviews tend to be used with a
    scrollbar and the width of the scrollbar will be added to this number
    bringing it into positive territory again.  On Ubuntu, with overlay
    scrollbars, this is not the case, however.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=703062
    e3b9ea5a