Page 1 of 1
ComboBox Text Issues
Posted: Sun Oct 11, 2015 5:25 pm
by CoreySchroeder
Hey all,
I've got a ComboBox that I'm trying to use - I've resized the ComboBox to what I want, changed the size of the text, but for some reason the text sits above the ComboBox and is partially cut off.
I've tried messing with all of the size/formatting options, and I cannot seem to get the text to fit properly within the ComboBox - any ideas?
Re: ComboBox Text Issues
Posted: Sun Oct 11, 2015 6:12 pm
by dunbarx
Hi.
Hard to tell from here. When did the text go south? In other words, as you applied the several different properties to the button, when did it first start to look like crap?
Craig Newman
Re: ComboBox Text Issues
Posted: Sun Oct 11, 2015 6:17 pm
by SparkOut
Nope, I really don't know. I can't get it to behave at all like that here (on Windows - looks like you're on Mac so that may not be relevant).
Re: ComboBox Text Issues
Posted: Sun Oct 11, 2015 6:29 pm
by CoreySchroeder
It started going south when I tried manipulating the height of the ComboBox.
I adjusted the width, no problems.
I grabbed the resize handle to pull the area down (in hopes to increase the height of the ComboBox), and the height actually remains the same, and the text stays locked in place.
So, when resizing the ComboBox vertically, the overall area of the control increases without actually altering the height of the graphic of the ComboBox - the text stays locked in place.
Re: ComboBox Text Issues
Posted: Sun Oct 11, 2015 7:14 pm
by Klaus
Sorry, I don't get it!?
Are you having a problems with a combobox or with a field?
These are two different beasts!

Re: ComboBox Text Issues
Posted: Sun Oct 11, 2015 7:44 pm
by CoreySchroeder
Klaus,
My apologies - I was interchangeably using the two names.
My issue is with a ComboBox.
I've edited my posts above to hopefully make more sense.
I'm just trying to resize the ComboBox to fit properly with the rest of my UI in this application, and I cannot seem to get it to work as expected.
Its as if the graphic of the ComboBox is in a layer above the text of the ComboBox (as the graphic is cutting off the text) - and the text is locked into the top right corner of the overall size of the ComboBox -it will not fit within the window of the graphic as you would expect. See my photos above.
Re: ComboBox Text Issues
Posted: Sun Oct 11, 2015 7:48 pm
by CoreySchroeder
I just created a new livecode project to see if the issue was isolated to the project I was working on, however I was able to duplicate the issue again.
In this picture - the top ComboBox is the default I get when I drag the control onto the card.
The second image is when I stretch out the width.
The third image is when I stretch out the height.
I hope this better explains the issue I am running into.
Re: ComboBox Text Issues
Posted: Sun Oct 11, 2015 8:56 pm
by Klaus
Hi Corey,
AHA!
OK, yes, confirmed this is obviously a bug in LC 7.1 and 8!
I will create a bugreport, thanks, good catch
Best
Klaus
Re: ComboBox Text Issues
Posted: Sun Oct 11, 2015 9:08 pm
by bn
Hi,
the misplaced combobox when resizing (placed in the vertical center instead of top of control) does not happen in LC 7.1 and LC 8 dp7 on MacOSX 10.9.5.
You still can not make the combobox taller, that is probably because those are made according to the UI guidelines of the operating system. You never could make a combobox taller, tested in 6.1.3.
Kind regards
Bernd