Hi all,=20
i'm writing a client for the skylive project ( www.skylive.it ),=20
and i'm trying to use pythoncard for it.
I'm a little newbye of GUI programming, but i have a good python
background, so, no relevant issues on writing the client, but i have
some minor issues with the GUI.
Expecially:
Issue #1: HtmlWindow
---------------------
I need to embed in the gui an image grabbed from a website, so, to do
that i'm using HtmkWindow in this way:
self.components.myHtmlWindow_component.base_LoadPage(url)
where url is something like "http://domain.tld/imagename.jpg".
This of course work well, but the problem is that i want the size of
the HtmlWindow fit exactly the size of the image.
The image have a fixed size of 320x240, but when i set size of the
HtmlWindow to the same value, i get scroll bars cause i have some
white borders around the image.
The problem is that i can't find a way to remove those borders.
Issue #2: TextArea colors
-------------------------
In my application i have a little chat window with a TextArea
for the messages. It is pretty similar to IRC, but with a different and
more simple protocol.=20
I have a string like u"<username> message", but i can't find a way
to use different colors for the "<username>" part and the message.
Anyone can point me to some examples or docs about those two minor
issues?
Thanks in advance.
--=20
Franco Lanza
My blog: http://www.nexlab.it
email: ne...@ne...
Fax/Tel: +39 0331 682151
Cell: +39 339 8125940
Busto Arsizio (VA) - Italy
-----------------------------------
NO TCPA: http://www.no1984.org
you can download my public key at:
http://danex.nexlab.it/nextime.asc || Key Servers
Key ID =3D D6132D50
Key fingerprint =3D 66ED 5211 9D59 DA53 1DF7 4189 DFED F580 D613 2D50
-----------------------------------
echo 16i[q]sa[ln0=3Daln100%Pln100/snlbx]sbA0D212153574F444E4957204553552045=
4D20454B414D204F54204847554F4E452059415020544F4E4E4143205345544147204C4C494=
2snlbxq | dc
-----------------------------------
|