disappearing text using lsxcommand as a label Thread last updated on 2006-05-03 16:10:55

Posted by member 314318 on 2006-05-03 04:19:21

I'm trying to use lsxcommand as a label within xlabel. While I've gotten it to work and can get it to display, I can't see any of the text that I'm typing into the field. It still functions, I just can't see what I'm typing. Does anyone know how to fix this? Here are the relevant values I have:

CommandWaitForBox
CommandX 458
CommandY -84
CommandWidth 242
CommandHeight 13
CommandBGColor 1C5D4D
CommandTextSize 14
CommandTextColor 1CFFD9
CommandTextFontFace "Square 721 BT"
CommandBorderSize 0

*Label LabelRun
*LabelRunModuleHook !CommandBoxHook
LabelRunAlwaysOnTop
LabelRunWidth 242
LabelRunHeight 13
;LabelRunFontColor 1CFFD9
;LabelRunFont "Square 721 BT"
;LabelRunFontAlign Left
LabelRunSolidColors 1C5D4D
LabelRunX 458
LabelRunY -84

The stuff I had commented out was what I was originally hoping was causing the problem, I get the same problem either way.

Posted by member 5575 on 2006-05-03 11:59:27 link

You've got your text size larger than your commandheight, so it probably clips the text and doesn't display it. Try adjusting those sizes and see how things look.

Posted by member 212670 on 2006-05-03 13:52:17 link

CommandX 458
CommandY -84

When you hook something, the x/y coords become relative to the label's top left corner, not the desktop. Since your command and label have the same height/width, you'll want your commands x/y coords 0/0.

Posted by member 5575 on 2006-05-03 13:55:41 link

Oooh, good catch there. That'd definitely make it hard to read, too.

Posted by member 314318 on 2006-05-03 16:10:55 link

ha ha, thanks I thought it was something simple, that fixed it. My text would have been displaying off in space somewhere. And yeah I know the text might clip, but this is one of those fonts that isn't really representational of the size it claims to be.