Don't know if anybody has tried this before but in LsBox 3.0 pre whatever if you give a module a negative x or y value it wont show in the box at all.
Ive tried this with label and systray and taskbar3 and they all do the same. Its almost like it places it at minus value from the top and left and not minus values from bottom and right.
Or is it just me :)
nope, it's not just you. cause that's what it does. or maybe it just doesn't load the modules cause it can't handle negative coordinates. but regardless, it won't show them.
Since your box is likely a static size, there really isn't any need to use negatives to position elements from the right or bottom... is there?
well no my box isn't a static size so it is a problem for me and I do call it a bug
well, if you reload the modules that need to be moved when it changes size, it should re-read the settings, so everything lines up again. however, I haven't tried this, so I'm not 100% sure it'll work. does it even make sense?
I'm sure I could work it all out with maths in vars and stuff in mzscript. But I have dynamically positioning/sizing labels and stuff in a box that could be any size depending on the screen rez being used.
When just adding/fixing a simple thing like negative co-ords would make it easy for everyone.
So I guess though I havn't tried it that center dosn't work inside a box either
You should be able to do it without using mzscript. Regardless of the screen resolution, you should always know how wide or high your box is because you will always know what $resolutionx$ or $resolutiony$ is. I imagine their sizes will be related?
But I don't know exactly what you are trying to do so I could be wrong.
Ok I'm not saying I cant do what I want to another way. There a many workarounds I can do for starters not putting it in a box. I'm mearly saying that negative module co-ords should be added to the next version of lsbox
Or am I the only one who would find it usefull to be able to set these things up like that
Technically, this is probably a bug in each of the respective modules, not in lsbox itself. The modules are probably still converting negative coordinates based on the full screen size rather than the space the box makes available. This places them way off the edge of the box and Windows crops them off.
So you're not looking for just one module to get fixed.
Well RabidCow I did a test on your theory and you right its the modules fault my test was
Desktop rez at 1280x1024
box size witdh 1280 height 640
positioned at 0,0
placed systray y setting at -800
and yeah it showed up at the normal screen place
So I guess its a bug in all modules and not lsbox
hrmm
no easy fix then