Olivier Sessink
2014-05-02 15:00:59 UTC
I think there are quite some users that resize it to almost zero regularly. So even if that makes some parts of the UI a bit weird , I think we should keep that functionality . Anybody else a comment on that?
Olivier
Olivier
Revision: 8344
http://sourceforge.net/p/bluefish/code/8344
Author: andriusrin
Date: 2014-05-01 07:29:39 +0000 (Thu, 01 May 2014)
-----------
When resizing filebrowser pane, when width of the pane gets narrower
than natural width of notebook tabs, there are variuos drawing
artefacts. This change does not allow to shrink filebrowser pane too
much and avoids weird looking UI.
--------------
trunk/bluefish/src/bfwin.c
Modified: trunk/bluefish/src/bfwin.c
===================================================================
--- trunk/bluefish/src/bfwin.c 2014-04-30 18:20:34 UTC (rev 8343)
+++ trunk/bluefish/src/bfwin.c 2014-05-01 07:29:39 UTC (rev 8344)
@@ -323,11 +323,11 @@
G_CALLBACK(side_panel_notify_position), bfwin);
bfwin->leftpanel_notebook = side_panel_build(bfwin);
if (main_v->props.left_panel_left) {
- gtk_paned_pack1(GTK_PANED(bfwin->hpane), bfwin->leftpanel_notebook,
FALSE, TRUE);
- gtk_paned_pack2(GTK_PANED(bfwin->hpane), bfwin->notebook_box, TRUE,
TRUE);
+ gtk_paned_pack1(GTK_PANED(bfwin->hpane), bfwin->leftpanel_notebook,
FALSE, FALSE);
+ gtk_paned_pack2(GTK_PANED(bfwin->hpane), bfwin->notebook_box, TRUE,
FALSE);
} else {
- gtk_paned_pack1(GTK_PANED(bfwin->hpane), bfwin->notebook_box, TRUE,
TRUE);
- gtk_paned_pack2(GTK_PANED(bfwin->hpane), bfwin->leftpanel_notebook,
FALSE, TRUE);
+ gtk_paned_pack1(GTK_PANED(bfwin->hpane), bfwin->notebook_box, TRUE,
FALSE);
+ gtk_paned_pack2(GTK_PANED(bfwin->hpane), bfwin->leftpanel_notebook,
FALSE, FALSE);
}
gtk_box_pack_start(GTK_BOX(bfwin->middlebox), bfwin->hpane, TRUE,
TRUE, 0);
gtk_widget_show(bfwin->hpane);
This was sent by the SourceForge.net collaborative development
platform, the world's largest Open Source development site.
To unsubscribe from this list: send the line "unsubscribe bluefish-cvs"
in
panel at http://www.ems.ru/cgi-bin/listargate.cgi
Bluefish web site: http://bluefish.openoffice.nl/
http://sourceforge.net/p/bluefish/code/8344
Author: andriusrin
Date: 2014-05-01 07:29:39 +0000 (Thu, 01 May 2014)
-----------
When resizing filebrowser pane, when width of the pane gets narrower
than natural width of notebook tabs, there are variuos drawing
artefacts. This change does not allow to shrink filebrowser pane too
much and avoids weird looking UI.
--------------
trunk/bluefish/src/bfwin.c
Modified: trunk/bluefish/src/bfwin.c
===================================================================
--- trunk/bluefish/src/bfwin.c 2014-04-30 18:20:34 UTC (rev 8343)
+++ trunk/bluefish/src/bfwin.c 2014-05-01 07:29:39 UTC (rev 8344)
@@ -323,11 +323,11 @@
G_CALLBACK(side_panel_notify_position), bfwin);
bfwin->leftpanel_notebook = side_panel_build(bfwin);
if (main_v->props.left_panel_left) {
- gtk_paned_pack1(GTK_PANED(bfwin->hpane), bfwin->leftpanel_notebook,
FALSE, TRUE);
- gtk_paned_pack2(GTK_PANED(bfwin->hpane), bfwin->notebook_box, TRUE,
TRUE);
+ gtk_paned_pack1(GTK_PANED(bfwin->hpane), bfwin->leftpanel_notebook,
FALSE, FALSE);
+ gtk_paned_pack2(GTK_PANED(bfwin->hpane), bfwin->notebook_box, TRUE,
FALSE);
} else {
- gtk_paned_pack1(GTK_PANED(bfwin->hpane), bfwin->notebook_box, TRUE,
TRUE);
- gtk_paned_pack2(GTK_PANED(bfwin->hpane), bfwin->leftpanel_notebook,
FALSE, TRUE);
+ gtk_paned_pack1(GTK_PANED(bfwin->hpane), bfwin->notebook_box, TRUE,
FALSE);
+ gtk_paned_pack2(GTK_PANED(bfwin->hpane), bfwin->leftpanel_notebook,
FALSE, FALSE);
}
gtk_box_pack_start(GTK_BOX(bfwin->middlebox), bfwin->hpane, TRUE,
TRUE, 0);
gtk_widget_show(bfwin->hpane);
This was sent by the SourceForge.net collaborative development
platform, the world's largest Open Source development site.
To unsubscribe from this list: send the line "unsubscribe bluefish-cvs"
in
panel at http://www.ems.ru/cgi-bin/listargate.cgi
Bluefish web site: http://bluefish.openoffice.nl/