Jumbled Combobox elements

Questions and answers for designing and implementing forms in Servoy

Jumbled Combobox elements

Postby bevil » Thu Sep 24, 2015 3:48 pm

Dear all

I have a client who uses a solution that I built, which has a series of comboboxes in a few table views.

On one of these, two of the users have the elements in the combobox jumbled together, see attached screen grab.

My own machine shows the combobox normally, and I don't know what is different about these particular client machines.

These are all running smart client on Mac with Java 1.7, and Servoy Server 7.4.2

Thanks for any help.
Attachments
Screen Shot 2015-06-01 at 12.44.29.png
Screen Shot 2015-06-01 at 12.44.29.png (40.06 KiB) Viewed 1173 times
bevil
 
Posts: 133
Joined: Thu Oct 18, 2012 7:31 pm

Re: Jumbled Combobox elements

Postby Bernd.N » Sun Sep 27, 2015 4:41 pm

Im am not a Mac expert, but you could try to change to other controls like typeahead or listbox, if possible, and see what happens then.
How is the valuelist of that combobox populated?
Bernd Korthaus
LinkedIn
Servoy 7.4.9 SC postgreSQL 9.4.11 Windows 10 Pro
User avatar
Bernd.N
 
Posts: 480
Joined: Mon Oct 21, 2013 5:57 pm
Location: Langenhorn, North Friesland, Germany

Re: Jumbled Combobox elements

Postby bevil » Sun Sep 27, 2015 5:44 pm

Thanks Bernd. Apologies, this is a type ahead. It retrieves its values through a relation. However, I don't think the issue is a function of the field type, but rather of a graphical issue on a particular version of Mac OS X and Java. These fields look perfectly normal on other machines (running later versions of OS X).. All other value list based fields work normally.
bevil
 
Posts: 133
Joined: Thu Oct 18, 2012 7:31 pm

Re: Jumbled Combobox elements

Postby Bernd.N » Sun Sep 27, 2015 7:03 pm

Yes, I agree, it does not look as it is related to Servoy.
However if an update of those machines is not an option, I would try to put a second column right of the problem column, with another field type.
When that works, it would be easy to code a small switch for each user in the onShow() of the form:
if (firstShow) {
elements.typeahead_column.visible = _to_persons$current_user.b_typeahead_column === 1;
elements.combobox_column.visible = ! elements.typeahead_column.visible;
}
Bernd Korthaus
LinkedIn
Servoy 7.4.9 SC postgreSQL 9.4.11 Windows 10 Pro
User avatar
Bernd.N
 
Posts: 480
Joined: Mon Oct 21, 2013 5:57 pm
Location: Langenhorn, North Friesland, Germany


Return to Forms

Who is online

Users browsing this forum: No registered users and 3 guests

cron