Hi,

It's a realy easy modification :

One line modification on the file src/libs/styles.c
On the Line 346, the size is actualy : 5*ht

        5 it's corresponding to only 3 styles list

        replace the "5*ht" by "7*ht", we will have 5 style list.

Regards

roumano@roumano ~/bin/darktable/src/libs $ diff -u styles.c.old styles.c
--- styles.c.old        2013-05-18 10:10:26.926915546 +0200
+++ styles.c    2013-11-09 12:04:09.671917831 +0100
@@ -343,7 +343,7 @@
   gtk_tree_view_column_add_attribute (col, renderer, "text",
DT_STYLES_COL_NAME);
 
   int ht = get_font_height( GTK_WIDGET (d->list), "Dreggn");
-  gtk_widget_set_size_request (GTK_WIDGET (d->list), -1, 5*ht);
+  gtk_widget_set_size_request (GTK_WIDGET (d->list), -1, 7*ht);
 
   gtk_tree_selection_set_mode
(gtk_tree_view_get_selection(GTK_TREE_VIEW(d->list)),
GTK_SELECTION_SINGLE);
   gtk_tree_view_set_model (GTK_TREE_VIEW(d->list),
GTK_TREE_MODEL(liststore));


As you have persmission to commit, can you handle it ? 

Regards

Le jeudi 07 novembre 2013 à 20:09 +0100, Pascal Obry a écrit :
> Le 07/11/2013 19:25, Roumano a écrit :
> > For me, on the ligthroom mode, the size of the style module is too
>                  ^^^^^^^^^
>                  lighttable :)
> > small (or tiny), we can show only 3 stored style.
> >      So we have rapidly scroll a lot to found a style.
> > 
> > What do you think about increase the size of this plug-in ?
> 
> I would say that this is a good idea.
> 



------------------------------------------------------------------------------
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most 
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk
_______________________________________________
darktable-devel mailing list
darktable-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/darktable-devel

Reply via email to