DesktopX resolution independence
Tuesday, April 22, 2003 by mrbiotech | Discussion: WinCustomize Talk
Specifically, I'm attempting to make a horizontal taskbar that will vary in dimension depending on the screen resolution, but it doesn't seem immediately possible. Any suggestions?
Reply #2 Wednesday, April 23, 2003 3:26 AM

Reply #3 Wednesday, April 23, 2003 8:14 AM
Below is a simplified ASCII rendition:
__________________________________________________
shortcuts /=============================\ systray
_________/ =====want tasks here========= \________
If I used a negative value solely, then I would technically have to sacrifice the shortcuts or systray. Much easier in LS, but DX incredibly entertaining objects too.
(thanks thus far!)
Reply #4 Wednesday, April 23, 2003 10:38 AM
Reply #5 Wednesday, April 23, 2003 10:44 AM
Long answer follows:
Create Object1 (shortcuts) which will be set length of 100. Dock to the top and left and that's all.
Create Object2 (Taskbar) Dock to left and top and position to the right of the shortcuts. Because the left hand side of it will always be in the left half of the screen it can be docked to the left. Now set this to -100
Create Object3 (systray) Dock to right and fixed width of 100. Position to the right of Object2.
Boxxi: You can set stretching or tiling margins in the object properties so that it will tile/stretch when the graphic is resized to cater for other screens. Depending on your image you may need to set a lower limit for screen resolutions it supports.
pjpowell is hoping that in DX2 dxscript will allow resizing of objects (currently doesn't allow it) because that would make it a whole lot more powerful. Different conditions showing totally different images and stuff would be very cool. Objects that reconfigure themnselves to make best use of the space dynamically and suchlike.

Reply #6 Wednesday, April 23, 2003 10:46 AM
Reply #7 Wednesday, April 23, 2003 11:29 AM
Reply #8 Wednesday, April 23, 2003 11:44 AM
Reply #9 Wednesday, April 23, 2003 12:31 PM

Reply #10 Wednesday, April 23, 2003 8:41 PM

Please login to comment and/or vote for this skin.
Welcome Guest! Please take the time to register with us.
There are many great features available to you once you register, including:
- Richer content, access to many features that are disabled for guests like commenting on the forums and downloading skins.
- Access to a great community, with a massive database of many, many areas of interest.
- Access to contests & subscription offers like exclusive emails.
- It's simple, and FREE!







Reply #1 Wednesday, April 23, 2003 3:19 AM
So for a taskbar that needs to go all the way across the screen you would simply put 100% in the width.
If however you needed a systray to the right of that which was 100 pixels wide you would use a width of -100 and dock the object to the left of the screen. The systray object would be docked to the right of the screen.