From the original SynthMaker forum (2004–2014), with its members’ names and dates.
Tom7777 ·
I wanted to make a part of a GUI have a popup with a small area set 9.2W, 1.6H and the font Arial size 1, The basic text shows fine but when the popup list appears the text does not scale down correctly at the normal zoom level, if i zoom in the text will appear fine. As far as i know this is to do with the module and not the schematic.
malc ·
Hi Tom,
I'm glad you asked this. In the recent h release I added a new component for doing drop lists in what I think is a more controlled way. The existing Popup List component is a bit restrictive and having lived with it for a while I don't think it works very nicely.
So there is now a new Drop List component. This is implemented using a a floating menu with a 'checked' item that represents the current selection. You have more control with this because you determine where and when it pops up (eg. right-click or left-click or anything else that creates a trigger).
You also do all the drawing of the control yourself so you can have whatever font and colour options you need - this was determined automatically by the Popup List component which is why you're having problems.
Anyway, here's an example of how to use it:
[old link]
malc ·
I just spotted there's a small bug in the Drop List component that causes the current selection string to get reset on load. So when you load the example I posted you'll just see a white rectangle.
I'll get that fixed. Apart from that, this should work fine.
Tom7777 ·
Thanks Malc im just about to test it and see if it works better. 🙂
Tom7777 ·
I thought i found a fix for what you said but it did not work so i deleted the post now, it seems as if a selection must be made before anything shows in the popup module.
Wrote something here? To have a post removed or your name hidden, write to [email protected].