mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-22 13:59:31 +02:00
Gtk2: fixed TIconArrangement of GtkListView.
git-svn-id: trunk@38892 -
This commit is contained in:
parent
d102797393
commit
fbd34e1260
@ -1611,6 +1611,10 @@ begin
|
||||
begin
|
||||
MainView := gtk_icon_view_new_with_model(TreeModel);
|
||||
TreeSelection := nil;
|
||||
if TLVHack(AWinControl).IconOptions.Arrangement = iaTop then
|
||||
gtk_icon_view_set_columns(PGtkIconView(MainView), -1)
|
||||
else
|
||||
gtk_icon_view_set_columns(PGtkIconView(MainView), 1);
|
||||
end
|
||||
else
|
||||
begin
|
||||
|
Loading…
Reference in New Issue
Block a user