Re: XRC Editting

From: "Dave Page" <dpage(at)vale-housing(dot)co(dot)uk>
To: "Andreas Pflug" <pgadmin(at)pse-consulting(dot)de>
Cc: "pgadmin-hackers" <pgadmin-hackers(at)postgresql(dot)org>
Subject: Re: XRC Editting
Date: 2003-10-16 13:10:19
Message-ID: 03AF4E498C591348A42FC93DEA9661B84C5B79@mail.vale-housing.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

> -----Original Message-----
> From: Andreas Pflug [mailto:pgadmin(at)pse-consulting(dot)de]
> Sent: 16 October 2003 12:09
> To: Dave Page
> Cc: pgadmin-hackers
> Subject: Re: [pgadmin-hackers] XRC Editting
>
> This is how it looks if the sizes/positions are *not* created
> with the trailing 'd'.
> With my "font inheritance" patch, the fonts will be set
> according to the desktop font, apparently this succeeds on
> your system. The Dialog Unit sizing (in contrast to pixel
> sizing) didn't need any patch, so the only reason for failure
> would be a wrong xrc resource.
> Maybe xrcDialogs.cpp wasn't up-to-date (I just created a
> new), was this snapshot taken from a release build?

Nope, cvs tip, just updated to get your sysSettings ctor fix:

Regards Dave.

<?xml version="1.0" ?>
<resource>
<object class="wxDialog" name="frmConnect">
<title>Connect to a Server</title>
<size>205,130d</size>

<style>wxDEFAULT_DIALOG_STYLE|wxSTAY_ON_TOP|wxDIALOG_MODAL|wxCAPTION|wxS
YSTEM_MENU</style>
<object class="wxStaticText" name="lblDescription">
<label>Description</label>
<pos>5,7d</pos>
</object>
<object class="wxTextCtrl" name="txtDescription">
<pos>70,5d</pos>
<size>130,12d</size>
<tooltip>Enter a description of this database
connection.</tooltip>
</object>
<object class="wxStaticText" name="lblServer">
<label>Server</label>
<pos>5,22d</pos>
</object>
<object class="wxTextCtrl" name="txtServer">
<pos>70,20d</pos>
<size>130,12d</size>
<tooltip>Enter the hostname or IP address of the server to connect
to.</tooltip>
</object>
<object class="wxStaticText" name="lblPort">
<label>Port</label>
<pos>5,37d</pos>
</object>
<object class="wxTextCtrl" name="txtPort">
<value>5432</value>
<pos>70,35d</pos>
<size>26,12d</size>
<tooltip>Enter the port number that the server is listening
on.</tooltip>
</object>
<object class="wxStaticText" name="lblSSL">
<label>SSL</label>
<pos>100,37d</pos>
</object>
<object class="wxComboBox" name="cbSSL">
<content/>
<selection>0</selection>
<pos>120,35d</pos>
<size>80,12d</size>
<style>wxCB_READONLY|wxCB_DROPDOWN</style>
</object>
<object class="wxStaticText" name="lblDatabase">
<label>Initial database</label>
<pos>5,52d</pos>
</object>
<object class="wxTextCtrl" name="txtDatabase">
<value>template1</value>
<pos>70,50d</pos>
<size>130,12d</size>
<tooltip>Enter the name of the database on the server to use to
make the initial connection. Normally this will be template1.</tooltip>
</object>
<object class="wxStaticText" name="lblUsername">
<label>Username</label>
<pos>5,67d</pos>
</object>
<object class="wxTextCtrl" name="txtUsername">
<pos>70,65d</pos>
<size>130,12d</size>
<tooltip>Enter the username to use when connecting to the
server.</tooltip>
</object>
<object class="wxStaticText" name="lblTrusted">
<label>Trusted</label>
<pos>5,82d</pos>
</object>
<object class="wxCheckBox" name="chkTrusted">
<label></label>
<checked>0</checked>
<pos>70,82d</pos>
</object>
<object class="wxStaticText" name="lblPassword">
<label>Password</label>
<pos>5,97d</pos>
</object>
<object class="wxTextCtrl" name="txtPassword">
<pos>70,95d</pos>
<size>130,12d</size>
<style>wxTE_PASSWORD</style>
<tooltip>Enter the password to use when connecting to the
server.</tooltip>
</object>
<object class="wxButton" name="btnHelp">
<label>&amp;Help</label>
<pos>2,112d</pos>
<size>50,15d</size>
<style></style>
</object>
<object class="wxButton" name="btnOK">
<label>&amp;OK</label>
<default>1</default>
<pos>97,112d</pos>
<size>50,15d</size>
<style></style>
</object>
<object class="wxButton" name="btnCancel">
<label>&amp;Cancel</label>
<default>0</default>
<pos>150,112d</pos>
<size>50,15d</size>
</object>
</object>
</resource>

Browse pgadmin-hackers by date

  From Date Subject
Next Message Dave Page 2003-10-16 13:19:30 Re: Font debugging code
Previous Message Adam H. Pendleton 2003-10-16 12:25:37 Re: SSL detection bug is back under debian...