[Freeciv-Dev] Re: suggestion for smaller dialogs
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
On Sun, Sep 30, 2001 at 06:33:12PM +0200, Christian Knoke wrote:
> > o for the begining, get rid of the "popup" button since this
> > more easily done by a double click on the row containing the
> > city (which already works).
>
> Not so good, Al. Can't we solve the real problem, that is make
> every button use only as much as space as needed for the text?
> Maybe, if you put each button into a seperate frame/box?
From "Thu, 23 Aug 2001 14:48:14 +0200":
Index: plrdlg.c
===================================================================
RCS file: /home/freeciv/CVS/freeciv/client/gui-gtk/plrdlg.c,v
retrieving revision 1.21
diff -u -r1.21 plrdlg.c
--- plrdlg.c 2001/01/29 18:55:30 1.21
+++ plrdlg.c 2001/08/23 12:46:48
@@ -110,6 +110,11 @@
if (!titles) titles = intl_slist(NUM_COLOUMS, titles_);
players_dialog_shell = gtk_dialog_new();
+
+ gtk_box_set_homogeneous(GTK_BOX
+ (GTK_DIALOG(players_dialog_shell)->action_area),
+ 0);
+
gtk_signal_connect( GTK_OBJECT(players_dialog_shell),"delete_event",
GTK_SIGNAL_FUNC(players_button_callback),NULL );
gtk_accel_group_attach(accel, GTK_OBJECT(players_dialog_shell));
I'm still waiting for comments on this one.
Raimar
--
email: rf13@xxxxxxxxxxxxxxxxx
"If at first you don't succeed... well so much for skydiving."
|
|