Project

General

Profile

Bug #10282

collect/folder view: size of box does not change when expanding folders

Added by Stephan Pleines about 5 years ago. Updated over 3 years ago.

Status:
Fixed
Priority:
Low
Assignee:
-
Category:
-
Target version:
Start date:
01/12/2015
Due date:
% Done:

100%

Estimated time:
Affected Version:
git development version
System:
Ubuntu
bitness:
64-bit
hardware architecture:
amd64/x86

Description

The box containing the folders has 3 rows initially, which is equal to the number of top level folders. It used to be bigger (with empty rows). That's fine, but when expanding a folder, the size does not updated. Would be nice if it updated the size to have as many rows as need (up to some max).

This is on latest git, not sure if that is dev or stable.

History

#1 Updated by Stephan Pleines about 5 years ago

Temporary fix:

GtkWidget *sw2 = gtk_scrolled_window_new(NULL, NULL);
d->sw2 = GTK_SCROLLED_WINDOW(sw2);
+ gtk_scrolled_window_set_min_content_height(GTK_SCROLLED_WINDOW(sw2), 300);

Proper way might be: Count the number of lines in the folder tree, set window height to min(fixed number, number of lines * height of line), but I haven't figured that out yet.

#2 Updated by Aldric Renaudin about 4 years ago

Should be fixed now. If not, feel free to reopen. Thanks

#3 Updated by Aldric Renaudin about 4 years ago

  • % Done changed from 0 to 100
  • Status changed from New to Fixed

#4 Updated by Roman Lebedev over 3 years ago

  • Target version set to 2.2.0

Also available in: Atom PDF

Go to top