Skip to content

Commit 08c6a9e

Browse files
authored
updated remote_desktop.c
made the buttons bigger than what they originally were in the beginning
1 parent 876dad8 commit 08c6a9e

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

remote_desktop.c

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,15 +24,17 @@ int main(int argc, char **argv){
2424

2525
grid = gtk_grid_new();
2626
gtk_container_add(GTK_CONTAINER(window), grid);
27+
gtk_grid_set_row_homogeneous(GTK_GRID(grid),TRUE);
28+
gtk_grid_set_column_homogeneous(GTK_GRID(grid),TRUE);
2729

2830
close_window_please=gtk_button_new_with_label("Exit");
2931
g_signal_connect(close_window_please, "clicked", G_CALLBACK(gtk_main_quit), NULL);
30-
gtk_grid_attach(GTK_GRID(grid), close_window_please, 0,0,1,1);
32+
gtk_grid_attach(GTK_GRID(grid), close_window_please, 0,0,300,300);
3133

3234
minimize=gtk_button_new_with_label("Minimize this window and begin Remote Desktopping...");
3335
g_signal_connect(minimize, "clicked", G_CALLBACK(minimize_the_window_mommy), NULL);
34-
gtk_grid_attach(GTK_GRID(grid), minimize, 1,0,1,1);
35-
36+
gtk_grid_attach(GTK_GRID(grid), minimize,300,0,300,300);
37+
3638
gtk_widget_show_all(window);
3739
gtk_main();
3840

0 commit comments

Comments
 (0)