Posted by member 12025 on 2004-04-08 16:52:33 link
Lets say there's a tray, vwm and tasks, call then 20px high, 40px from each side of the screen, and the taskbar fills gaps.
...and better yet would be to put it all in one LsBox. And if they all adjust, have an amount they adjust (say, resolutionX/10), and then have one that fills the gap if rounding errors occur.
LsboxName traybar
LsboxX $TraybarX$
LsBoxY $TraybarY$
LsBoxWidth $TraybarWidth$
...
LsboxName vwmbar
LsboxX $VWMbarX$
LsBoxY $VWMbarY$
LsBoxWidth $VWMbarWidth$
...
LsboxName taskbar
LsboxX $TaskbarX$
LsBoxY $TaskbarY$
LsBoxWidth $TaskbarWidth$
...
TraybarX $ResolutionX-40$
TraybarY -20
TraybarWidth 100
VWMbarX $TraybarX-TraybarWidth$
VWMBarY -20
VWMBarWidth 81
TaskbarX $VWMbarX-VWMbarWidth$
TaskbarY -20
TaskbarWidth $ResolutionX-TaskbarX-40$
LsboxX $TraybarX$
LsBoxY $TraybarY$
LsBoxWidth $TraybarWidth$
...
LsboxName vwmbar
LsboxX $VWMbarX$
LsBoxY $VWMbarY$
LsBoxWidth $VWMbarWidth$
...
LsboxName taskbar
LsboxX $TaskbarX$
LsBoxY $TaskbarY$
LsBoxWidth $TaskbarWidth$
...
TraybarX $ResolutionX-40$
TraybarY -20
TraybarWidth 100
VWMbarX $TraybarX-TraybarWidth$
VWMBarY -20
VWMBarWidth 81
TaskbarX $VWMbarX-VWMbarWidth$
TaskbarY -20
TaskbarWidth $ResolutionX-TaskbarX-40$
...and better yet would be to put it all in one LsBox. And if they all adjust, have an amount they adjust (say, resolutionX/10), and then have one that fills the gap if rounding errors occur.