ComboBox Text Issues

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
CoreySchroeder
Posts: 26
Joined: Mon Sep 14, 2015 4:31 am

ComboBox Text Issues

Post by CoreySchroeder » Sun Oct 11, 2015 5:25 pm

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?
Screen Shot 2015-10-11 at 11.27.20 AM.png
Last edited by CoreySchroeder on Sun Oct 11, 2015 7:39 pm, edited 1 time in total.

dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10309
Joined: Wed May 06, 2009 2:28 pm

Re: ComboBox Text Issues

Post by dunbarx » Sun Oct 11, 2015 6:12 pm

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

SparkOut
Posts: 2943
Joined: Sun Sep 23, 2007 4:58 pm

Re: ComboBox Text Issues

Post by SparkOut » Sun Oct 11, 2015 6:17 pm

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).

CoreySchroeder
Posts: 26
Joined: Mon Sep 14, 2015 4:31 am

Re: ComboBox Text Issues

Post by CoreySchroeder » Sun Oct 11, 2015 6:29 pm

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.
Screen Shot 2015-10-11 at 12.28.46 PM.png
Last edited by CoreySchroeder on Sun Oct 11, 2015 7:41 pm, edited 1 time in total.

Klaus
Posts: 14182
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: ComboBox Text Issues

Post by Klaus » Sun Oct 11, 2015 7:14 pm

Sorry, I don't get it!?
Are you having a problems with a combobox or with a field?
These are two different beasts! :D

CoreySchroeder
Posts: 26
Joined: Mon Sep 14, 2015 4:31 am

Re: ComboBox Text Issues

Post by CoreySchroeder » Sun Oct 11, 2015 7:44 pm

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.

CoreySchroeder
Posts: 26
Joined: Mon Sep 14, 2015 4:31 am

Re: ComboBox Text Issues

Post by CoreySchroeder » Sun Oct 11, 2015 7:48 pm

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.
Screen Shot 2015-10-11 at 1.46.00 PM.png

Klaus
Posts: 14182
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: ComboBox Text Issues

Post by Klaus » Sun Oct 11, 2015 8:56 pm

Hi Corey,

AHA! :D

OK, yes, confirmed this is obviously a bug in LC 7.1 and 8!
I will create a bugreport, thanks, good catch :)


Best

Klaus

bn
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 4166
Joined: Sun Jan 07, 2007 9:12 pm

Re: ComboBox Text Issues

Post by bn » Sun Oct 11, 2015 9:08 pm

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

Post Reply