stretching popup2 Thread last updated on 2006-02-05 14:15:18

Posted by member 130127 on 2006-02-05 09:04:03

hi there!
i want the popup to have a default width of 60 and it should stretch to a width of 200 (or whatever) if it isnt possible to show the complete entry. i tried this:

PopupAdaptiveWidth true
PopupMaxWidth 200
PopupMinWidth 60
PopupBorderLeft 3
PopupBorderRight 3
PopupPaintMode stretch

but the popup has always the width of 200. so whats wrong here?
any replies would be great. thanx!

Posted by member 212670 on 2006-02-05 12:23:21 link

I have an old theme that uses popup2. I copied and pasted your settings and removed mine. Worked perfectly fine for me.

Make sure you don't have redundant entries.

Posted by member 130127 on 2006-02-05 13:04:26 link

it seems like minwidth isnt recognized. ill only get my "60" popup with maxwidth 60 and then the popup doesnt stretch. ;-(

heres the rest of the popup conf:
PopupNoTitleText
PopupNoFolderArrow
PopupEntryColor 646464
PopupSelEntryColor ffffff
PopupOverlapX -3
PopupOverlapY -2
PopupFontFace "hooge 05_55"
PopupFontHeight 10
PopupTitleHeight 2
PopupSubMenuHeight 15
PopupNoBevel
PopupNoMenuBevel
PopupDateTimeAlign 1
PopupEntryAlignment center

any ideas? perhaps it depends on my litestep version (Litestep Installer 3.0.2)?

Posted by member 212670 on 2006-02-05 13:58:00 link

I just tried your settings:

PopupAdaptiveWidth true
PopupMaxWidth 200
PopupMinWidth 60
PopupBorderLeft 3
PopupBorderRight 3
PopupPaintMode stretch

PopupNoTitleText
PopupNoFolderArrow
PopupEntryColor 646464
PopupSelEntryColor ffffff
PopupOverlapX -3
PopupOverlapY -2
PopupFontFace "tahoma"
PopupFontHeight 16
PopupTitleHeight 2
PopupSubMenuHeight 15
PopupNoBevel
PopupNoMenuBevel
PopupDateTimeAlign 1
PopupEntryAlignment center


and it worked as intended, using popup2-2.1.7. (I changed the font, though, since I don't have hooge installed.)

You could (should) update to the final build in the downloads section, but I don't think that's the problem.

Posted by member 130127 on 2006-02-05 14:15:18 link

ok, thanks for your replies. ill try the newer ls+module builts.