Switch to the dark side!
General Discussion

General Discussion

Latest Discussion
2 months ago
3 months ago
4 months ago
More...

Post a new topic



issue with getting xTaskbar to hook into xlabel

Avatar-50x50
shattenhagen says:

I can't seem to get my xTaskbar to hook into my xLabel. I am using xlabel-3.4.1 and xtaskbar-1.3.6. My code is as follows:

*Label xBarLabel
xBarLabelX -36
xBarLabelY 0
xBarLabelHeight 56
xBarLabelWidth 36
xBarAutoHeight Top

*xBarLabelModuleHook !LabelLsBoxHook QLLabel
*Label QLLabel
QLLabelX 0
QLLabelY 0
QLLabelHeight 56
QLLabelWidth 36
QLLabelImage xtaskbarQL.png
QLLabelPressedImage xtaskbarQLPressed.png
QLLabelHoverImage xtaskbarQLHover.png
QLLabelTooltip "Quick Launch Button"
QLLabelOnLeftClick !ql
*Popup "Quick Links" !new !ql
*Popup "Quick Launch""!DynamicFolder:$QuickLaunch$*.lnk"
*Popup "Recycle" "!Recycle"
*Popup "LogOff" "!LogOff"
*Popup "Shutdown" "!ShutDown"
*Popup "Quit" "!Quit"
*Popup !PopupMyComputer
*Popup !PopupControlPanel
*Popup ~new

*xBarLabelModuleHook !xTaskbarLsBoxHook
xTaskbarLoadInbox true
xTaskbarX 0
xTaskbarY 56
xTaskbarWidth 36
xTaskbarHeight 0
xTaskbarAlwaysOnTop true
xTaskbarHideIfEmpty true
xTaskbarLeftBorder 3
xTaskbarRightBorder 3
xTaskbarTopBorder 3
xTaskbarBottomBorder 3
xTaskbarButtonMaxWidth 30
xTaskbarButtonMaxHeight 30
xTaskbarButtonYSpacing 6
xTaskbarLayout .vertical
xTaskbarButtonDirection .bottom
xTaskbarUpdateInterval 500
xTaskbarFlashInterval 1500
xTaskbarUseBigIcon false
xTaskbarIconX 3
xTaskbarIconY 3
xTaskbarIconSize 24
xTaskbarShowIcon True
xTaskbarShowText false
xTaskbarShowTooltip true
xTaskbarSort ".classname"
xTaskbarBalloonTooltip "TaskButton Info:" 1
xTaskbarTooltipDurations 1000 3000
xTaskbarShowHoverState true
xTaskbarImage xtaskbar.png
xTaskbarNormalButtonImage xtaskbarinactive.png
xTaskbarActiveButtonImage xtaskbar.png
xTaskbarMinimizedButtonImage xtaskbarinactive.png
xTaskbarFlashingButtonImage xtaskbarflash.png
xTaskbarHoverButtonImage xtaskbarhover.png
xTaskbarOnLeftClickButton .select
xTaskbarOnRightClickButton .menu
xTaskbarOnMiddleClickButton .close
xTaskbarOnAdd !xTaskbarResizeBy 0 35
xTaskbarOnRemove !xTaskbarResizeBy 0 -35

If anyone can help me figure this out I would greatly appreciate it.

08:40 am, Wednesday, June 29, 2005 (4 years ago)
Avatar-50x50
advent says:

Don't double post.

xBarAutoHeight Top
I'm pretty sure this setting only works with text.

xTaskbarY 56
This looks like the taskbar will be displayed beyond the rendering window of the label you're putting it into.

Also, make sure you have xTaskbar loaded before xLabel.

11:00 am (4 years ago)
1384

xTaskbarY 56 is too far down. Your label is only 56 high, so the taskbar will be displayed where your label ends.

I have done this too.

The co-ordinates of the hooked item (taskbar)
are relative to the parent item (label)

fractal.design

09:57 pm (4 years ago)
1384

Also:

If you want it "Docked" that is positioned next to your label (which looks likely) I dont think you can :(

I think "Docking" is only for other labels.
but maybe you can, check out the xLabel docs for "Docking"

fractal.design

10:05 pm (4 years ago)
 

Reply to this topic

You must register and become a member to post a reply.