Vtray position Thread last updated on 2003-12-31 14:35:29

Posted by member 62644 on 2003-12-31 08:51:44

i have a bmp image called tray.bmp, i want it to be as the systray on my theme and im using the vtray module. The image is sized 156width and 20 of height. I can't seem to place it on my theme. I have never made a theme before.
Can someone write me an example configuration to place it to the lower left corner or give me any suggestions.

EDIT: Which corner or which point is it that i have to define with SystrayX and SystrayY

Posted by member 3800 on 2003-12-31 10:40:08 link

to place it at the lower left you would use
SystrayX 0
SystrayY -20

Almost all modules use positioning from the top left corner of the screen being 0,0. You can use negative values to define a position from the bottom or right of the screen.

Posted by member 62644 on 2003-12-31 10:54:19 link

Thnx Teshadael i understand that now.
SystrayAlwaysOnTop false
SystrayAutoSize true
SystrayDirection right
SystrayBorderDrag false
SystrayCheckOnCommands true
SystrayX 0
SystrayY -20
SystrayWidth 156
SystrayHeight 20
SystrayBorderSize 0
SystrayIconSpacingX 1
SystrayIconSpacingY 1
SystrayIconSize 16
SystrayBitmap $bgimage$ ; defined in my themevars.rc
SystrayOnAdd !TaskbarShrink 156 0
SystrayOnDel !TaskbarGrow 156 0

k it looks like this, but the tray is stuck in the upper left corner and its not sized as i have written in this code.
It looks like this

Posted by member 562 on 2003-12-31 12:09:33 link

Did you define VTraySettingsCompatibility?
check the readme

Posted by member 62644 on 2003-12-31 14:35:29 link

Oops, actually i was aware of that, but i guess forgot :)
Great! Thanks