Обсуждение: Backup dialog window: bad size

Поиск
Список
Период
Сортировка

Backup dialog window: bad size

От
Laurent ROCHE
Дата:
Hi,

I assume this has been told before ... but as I did not find  anything about it in the mailing list archive !

With PgAdmin III 1.6.1 on WinNT SP2.
The Backup dialog window (that pops up when doing Tools ==> backup ...) is sized too small: the "..." button (to browse
fora file) is not visible (and the right side of the group boxes either). 
It should be better sized.

And in French language, the options group box is too small: the text for the checboxes labels is over the right side of
thebox. 

Extra: a little feature request !
If the directory path for the file (when clicking on the "..." button) could be kept from one file generation to
another,that would be great ! 
And if the filename could be *also* kept ... we would get close to perfect  ;-) ... on that feature !


Cheers,
L@u
The Computing Froggy


----- Message d'origine ----
De : Erwin Brandstetter <brandstetter@falter.at>
À : dpage@postgresql.org
Cc : pgadmin-support@postgresql.org
Envoyé le : Jeudi, 7 Décembre 2006, 12h49mn 25s
Objet : Re: [pgadmin-support] Comments cut off after line break


dpage@postgresql.org wrote:
> Erwin Brandstetter wrote:
>
>> Maybe this happens on purpose to shorten lengthy comments.
>
> It does.
>
>> But then again, a better way would probably be to print the first x
>> (200?) characters (substituting spaces for linebreaks) and append '
>> ...' if there is more.
>
> Chopping at the first line is more flexible as it allows the user some
> control over what is shown there. I have committed a change to add ...
> if it truncates at all though.

Even better so, I agree.

Regards
Erwin

---------------------------(end of broadcast)---------------------------
TIP 1: if posting/reading through Usenet, please send an appropriate      subscribe-nomail command to
majordomo@postgresql.orgso that your      message can get through to the mailing list cleanly 






___________________________________________________________________________
Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions !
Profitez des connaissances, des opinions et des expériences des internautes sur Yahoo! Questions/Réponses
http://fr.answers.yahoo.com


Re: Backup dialog window: bad size

От
Dave Page
Дата:
Laurent ROCHE wrote:
> Hi,
> 
> I assume this has been told before ... but as I did not find  anything about it in the mailing list archive !
> 
> With PgAdmin III 1.6.1 on WinNT SP2.
> The Backup dialog window (that pops up when doing Tools ==> backup ...) is sized too small: the "..." button (to
browsefor a file) is not visible (and the right side of the group boxes either).
 
> It should be better sized.

Thanks - that's already been fixed for the next release.

> And in French language, the options group box is too small: the text for the checboxes labels is over the right side
ofthe box.
 

Guillaume; can that be fixed in the translation, or do we need to hack 
the dialogue about?

> Extra: a little feature request !
> If the directory path for the file (when clicking on the "..." button) could be kept from one file generation to
another,that would be great !
 
> And if the filename could be *also* kept ... we would get close to perfect  ;-) ... on that feature !

Yep, that's on my personnal list - I'll bung it on the roadmap so it 
doesn't get forgotten.

Regards, Dave.


Re: Backup dialog window: bad size

От
Guillaume Lelarge
Дата:
Dave Page a écrit :
> Laurent ROCHE wrote:
>> And in French language, the options group box is too small: the text
>> for the checboxes labels is over the right side of the box.
>
> Guillaume; can that be fixed in the translation, or do we need to hack
> the dialogue about?
>

We can fix a string to lower its size but we would still need to hack
the dialog. I attached a patch that push the box 10 pixels to the right
(and some other stuff to get them aligned). Apply it if it seems good
enough.

Regards.


--
Guillaume.
<!-- http://abs.traduc.org/
     http://lfs.traduc.org/
     http://docs.postgresqlfr.org/ -->
Index: src/ui/frmBackup.xrc
===================================================================
--- src/ui/frmBackup.xrc    (révision 5787)
+++ src/ui/frmBackup.xrc    (copie de travail)
@@ -2,7 +2,7 @@
 <resource>
   <object class="wxDialog" name="frmBackup">
     <title>Backup</title>
-    <size>200,153d</size>
+    <size>210,153d</size>
     <style>wxDEFAULT_DIALOG_STYLE|wxCAPTION|wxSYSTEM_MENU|wxRESIZE_BORDER|wxRESIZE_BOX|wxTHICK_FRAME</style>
     <object class="wxFlexGridSizer">
       <cols>1</cols>
@@ -18,11 +18,11 @@
               </object>
               <object class="wxTextCtrl" name="txtFilename">
                 <pos>65,5d</pos>
-                <size>130,-1d</size>
+                <size>140,-1d</size>
               </object>
               <object class="wxButton" name="btnFilename">
                 <label>...</label>
-                <pos>200,5d</pos>
+                <pos>210,5d</pos>
                 <size>15,-1d</size>
               </object>
               <object class="wxRadioBox" name="rbxFormat">
@@ -35,7 +35,7 @@
                 <selection>0</selection>
                 <dimension>1</dimension>
                 <pos>5,20d</pos>
-                <size>210,-1d</size>
+                <size>220,-1d</size>
                 <style>wxRA_SPECIFY_ROWS</style>
               </object>
               <object class="wxCheckBox" name="chkBlobs">
@@ -62,7 +62,7 @@
               </object>
               <object class="wxStaticBox" name="sbxPlainOptions">
                 <label>PLAIN options</label>
-                <pos>100,55d</pos>
+                <pos>110,55d</pos>
                 <size>115,86d</size>
               </object>
               <object class="wxCheckBox" name="chkOnlyData">
@@ -145,4 +145,4 @@
       <growablerows>0</growablerows>
     </object>
   </object>
-</resource>
\ Pas de fin de ligne à la fin du fichier
+</resource>

Re: Backup dialog window: bad size

От
Dave Page
Дата:
Guillaume Lelarge wrote:
> Dave Page a écrit :
>> Laurent ROCHE wrote:
>>> And in French language, the options group box is too small: the text
>>> for the checboxes labels is over the right side of the box.
>> Guillaume; can that be fixed in the translation, or do we need to hack
>> the dialogue about?
>>
> 
> We can fix a string to lower its size but we would still need to hack
> the dialog. I attached a patch that push the box 10 pixels to the right
> (and some other stuff to get them aligned). Apply it if it seems good
> enough.

Thanks - I've tweaked it a little and committed the fix.

Regards Dave.