Thread: Re: [ADMIN] Background color in query tool
Hello, The new option to define a background color for each server in PgAdmin 1.10 is very cool (to distinguish test servers from production servers). It would be very nice to have a reminder of this background color in the query module. Best Regards, Benoit Pesty
Hi, Le lundi 24 août 2009 à 09:23:34, PESTY Benoit a écrit : > [...] > The new option to define a background color for each server in PgAdmin > 1.10 is very cool (to distinguish test servers from production servers). > > It would be very nice to have a reminder of this background color in the > query module. > That's an interesting idea. I'm not sure everyone will like it, but we can always add an option for this. I added a ticket for this: http://code.pgadmin.org/trac/ticket/51 Thanks for your request. -- Guillaume.http://www.postgresqlfr.orghttp://dalibo.com
Hi, Le lundi 24 août 2009 à 09:23:34, PESTY Benoit a écrit : > [...] > The new option to define a background color for each server in PgAdmin > 1.10 is very cool (to distinguish test servers from production servers). > > It would be very nice to have a reminder of this background color in the > query module. > How would you like this to happen? I firstly thought as background color of the query tool window, but I would like to know if this is what you actually need or if your idea was something else? Regards. -- Guillaume.http://www.postgresqlfr.orghttp://dalibo.com
Hello, It was my first idea to have the background color of the tool completely changed. But it is probably too "invasive" and willcompletely kill the readability. Maybe just a reminder of the color in the combobox of selection of the connexion would be sufficient. Regards, Benoit Pesty -----Message d'origine----- De : Guillaume Lelarge [mailto:guillaume@lelarge.info] Envoyé : mardi 1 septembre 2009 08:27 À : pgadmin-support@postgresql.org Cc : PESTY Benoit Objet : Re: [pgadmin-support] [ADMIN] Background color in query tool Hi, Le lundi 24 août 2009 à 09:23:34, PESTY Benoit a écrit : > [...] > The new option to define a background color for each server in PgAdmin > 1.10 is very cool (to distinguish test servers from production servers). > > It would be very nice to have a reminder of this background color in the > query module. > How would you like this to happen? I firstly thought as background color of the query tool window, but I would like to know if this is what you actually need or if your idea was something else? Regards. -- Guillaume.http://www.postgresqlfr.orghttp://dalibo.com
Le 19/12/2009 16:16, Guillaume Lelarge a écrit : > Hi, > > Le 01/09/2009 09:15, PESTY Benoit a écrit : >> [...] >> It was my first idea to have the background color of the tool completely changed. But it is probably too "invasive" andwill completely kill the readability. >> >> Maybe just a reminder of the color in the combobox of selection of the connexion would be sufficient. >> > > It took me some time to get back to it, but I finally have a patch to > add this feature. You can see the result in the picture attached. When > no color is defined, we use a white box. > > This patch also changes some ctlComboBoxFix widgets into wxComboBox > widgets when the widget doesn't make use of ctlComboBoxFix specific > features. Not sure if this should be in a separate patch. I will do if > anyone finds it's required. > > Patch attached. > > Comments? > Commited. -- Guillaume. http://www.postgresqlfr.org http://dalibo.com