Control sizing problem
#1
i'm developing a python script which has a gui and i have a strange problem with the size of the controls.

here is an example.

1) i create a white square picture (test.png) whose size is exactly 100x100.
2) i display it using the following code

Quote:self.setcoordinateresolution(pal_16x9)
self.imgtest = xbmcgui.controlimage(50, 50, 100, 100, "test.png")
self.addcontrol(self.imgtest)

3) i run my script and i take a screenshot.

analizing the screenshot, the size of the white square has become 92x97.
i don't understand why and how to solve it.

any idea?

thx,

girotour
Reply
#2
what is your gui calibrated to?
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply
#3
(jmarshall @ mar. 02 2006,21:54 Wrote:what is your gui calibrated to?
whops... you're right... :oops:

thx.



Reply

Logout Mark Read Team Forum Stats Members Help
Control sizing problem0