desktop docking Thread last updated on 2005-07-22 12:02:17

Posted by member 124072 on 2005-07-21 00:52:53

How would I go about having a label being able to snap to the edge of the deskop? I tryed
somelabelnameSnapTo "Desktop"

but it didn't work....

Posted by member 212670 on 2005-07-21 02:28:48 link

Close... you're missing one thing. The snap distance.

somelabelnameSnapTo 5 Desktop

That would make the label snap to the edge when it hits 5 pixels.

Posted by member 124072 on 2005-07-21 03:38:32 link

oh, forgot to add that. yes, I also had that but it didn't work. could it be because I have every label and its mother docked to the label I want to snap?

oh, and this is my jdesk incase you need it.
jDeskWorkArea 0,0,0,0


and if your wondering what on earth i've been making, go look at my profile :) (as soon as it gets aproved)

Posted by member 12025 on 2005-07-21 11:09:23 link

The docking shouldn't adversely affect snapping.

Posted by member 12025 on 2005-07-21 14:20:19 link

Just saw the profile shot. You'll definitely need to release it, and you've got uniqueness down. The colored lines are nothing new, but that cross design is crazy.

Posted by member 910 on 2005-07-21 16:33:08 link

try setting jdeskworkarea to something like 0, 0, -0, -0 or 0, 0, -1, -1 or something similar and see if that affects things in any way.

Posted by member 248213 on 2005-07-21 17:27:38 link

Docking was always a little buggy when 2or more labels are connected, for me. Try if you can get 1 label to dock to the desktop. If you can do that, it must be something else ;)

Posted by member 124072 on 2005-07-21 17:37:39 link

yea, all i need is to get that middle piece to dock, the one where the date and time go into, but it's not working :X

Posted by member 248213 on 2005-07-21 17:49:02 link

hmmmm....

Maybe you need this setting instead:

somelabelnameSnapTo 10 "AllLabels"


"AllLabels" = Desktop and other labels.

Does that work?

Posted by member 124072 on 2005-07-21 19:04:56 link

i think i already tryed that...anyways, just a quick off topic question about the taskbar: should it expand? it can only hold 7 tasks at a time and expanding it would make the theme out of proportion. just want some feedback

Posted by member 212670 on 2005-07-21 20:48:38 link

Hmm if you're using xTaskbar, you might be able to work out some sort of
xTaskbarFocusOnEnter
xTaskbarOnWheelDown
xTaskbarOnWheelUp
and scroll it...

Posted by member 12025 on 2005-07-21 21:43:26 link

You could also have it expand fully on hover (or.

Posted by member 124072 on 2005-07-21 22:32:39 link

xTaskbarSwitch switches it physically, hrm. not quite what I was looking for. anyone know if xcals idea is actually possible? I know you can do it with xtray, maybe theres a way with xtaskbar

Posted by member 212670 on 2005-07-22 02:22:13 link

I read through the readme, and oddly enough, I couldn't find a scrolling option for xtaskbar (like xtrays - or taskbar3's !TaskbarShowPart for that matter). I was more thinking along the lines of if the xtaskbar is hooked, physically moving it to show a different view area. I personally like Cerbie's idea better, though. Plus, it would be easier to do ("easier" is always a relative thing, of course :D).

It would probably look something like...
xTaskbarOnEnter !ParseEvars !xTaskbarResizeBy %#xTaskbarCurrentButtonCount*(whatever needs to be considered)%# 0

...and the opposite for OnLeave. (That's one line, btw - and Cerbie may have a better way in mind :D).

Posted by member 124072 on 2005-07-22 03:19:27 link

know what? ill just make it a double right click to expand the bar, shouldnt be that hard. and ill make a hotkey or something to expand it as well.

Posted by member 1 on 2005-07-22 12:02:17 link

To expand on xcal's idea...have you thought about putting it into a xlabel or lsbox and moving it?