mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 13:10:19 +00:00
Place Info and Stats page at the top of notebook page
This seems to look better than the previous "centered" setup when switching between notebook pages. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
5fd901591c
commit
d37f8736db
1 changed files with 2 additions and 2 deletions
|
@ -768,7 +768,7 @@ GtkWidget *total_stats_widget(void)
|
|||
statsframe = gtk_frame_new(_("Statistics"));
|
||||
stats_w.framelabel = gtk_frame_get_label_widget(GTK_FRAME(statsframe));
|
||||
gtk_label_set_max_width_chars(GTK_LABEL(stats_w.framelabel), 60);
|
||||
gtk_box_pack_start(GTK_BOX(vbox), statsframe, TRUE, FALSE, 3);
|
||||
gtk_box_pack_start(GTK_BOX(vbox), statsframe, FALSE, FALSE, 3);
|
||||
framebox = gtk_vbox_new(FALSE, 3);
|
||||
gtk_container_add(GTK_CONTAINER(statsframe), framebox);
|
||||
|
||||
|
@ -815,7 +815,7 @@ GtkWidget *single_stats_widget(void)
|
|||
vbox = gtk_vbox_new(FALSE, 3);
|
||||
|
||||
infoframe = gtk_frame_new(_("Dive Info"));
|
||||
gtk_box_pack_start(GTK_BOX(vbox), infoframe, TRUE, FALSE, 3);
|
||||
gtk_box_pack_start(GTK_BOX(vbox), infoframe, FALSE, FALSE, 3);
|
||||
framebox = gtk_vbox_new(FALSE, 3);
|
||||
gtk_container_add(GTK_CONTAINER(infoframe), framebox);
|
||||
|
||||
|
|
Loading…
Reference in a new issue