summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPatrick McDermott <pj@pehjota.net>2017-09-21 18:57:30 (EDT)
committer Patrick McDermott <pj@pehjota.net>2017-09-21 18:57:30 (EDT)
commit1882004bd5d032c139784eec0b5a6db2a826bc84 (patch)
tree81d988c7e7f9026faa251d023dc30b31123b01c5 /src
parentf1aa5199d44e1d2cdd84be46a5fe92b2038c4e20 (diff)
downloadmarquee-1882004bd5d032c139784eec0b5a6db2a826bc84.zip
marquee-1882004bd5d032c139784eec0b5a6db2a826bc84.tar.gz
marquee-1882004bd5d032c139784eec0b5a6db2a826bc84.tar.bz2
MqTabChrome: Set minimum sizes of tab history scrolled windows
Diffstat (limited to 'src')
-rw-r--r--src/tab-chrome.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/tab-chrome.c b/src/tab-chrome.c
index 1aebdb7..3ca8df2 100644
--- a/src/tab-chrome.c
+++ b/src/tab-chrome.c
@@ -203,12 +203,20 @@ back_forward_box_button_press_cb(GtkWidget *widget, GdkEvent *event,
/* Set up the list scrolled window. */
list_scrolled_window = gtk_scrolled_window_new(NULL, NULL);
+ gtk_scrolled_window_set_min_content_width(
+ GTK_SCROLLED_WINDOW(list_scrolled_window), 400);
+ gtk_scrolled_window_set_min_content_height(
+ GTK_SCROLLED_WINDOW(list_scrolled_window), 200);
/* gtk_scrolled_window_set_propagate_natural_width(
GTK_SCROLLED_WINDOW(list_scrolled_window), TRUE); */
gtk_container_add(GTK_CONTAINER(list_scrolled_window), list_box);
/* Set up the text scrolled window. */
text_scrolled_window = gtk_scrolled_window_new(NULL, NULL);
+ gtk_scrolled_window_set_min_content_width(
+ GTK_SCROLLED_WINDOW(text_scrolled_window), 400);
+ gtk_scrolled_window_set_min_content_height(
+ GTK_SCROLLED_WINDOW(text_scrolled_window), 200);
/* gtk_scrolled_window_set_propagate_natural_width(
GTK_SCROLLED_WINDOW(text_scrolled_window), TRUE); */
gtk_container_add(GTK_CONTAINER(text_scrolled_window), text_view);