Community
Participate
Working Groups
Build Identifier: I20110519-1138 When I enter text into a field of a search form, the text jumps up and down with every letter entered. I encountered the same behavior in older scout versions aswell. Reproducible: Always Steps to Reproduce: 1.Create a search form with a String Field 2.Launch SWT Application 3.Enter Text to the field
Created attachment 197569 [details] Screen recording You should see the problem in this 3 seconds long video.
Problem doesn't occur in windows xp (tested by matthias)
Not search form
(In reply to comment #3) > Not search form *specific Updated Bug Name
problem doesn't occur on windows7 home premium 64bit
Hi Marcel This happens because the row height does not automatically scale according to the text height. This depends on the font and its size, on Windows XP it looks well, on Windows Vista not. You can increase the rowheight manually which solves the problem. Just add following code into the plugin.xml of your swt plugin: <extension point="org.eclipse.scout.rt.ui.swt.lookAndFeel"> <properties scope="global"> <property name="formfield.activationButton.height" value="24"/> <property name="formfield.activationButton.width" value="24"/> <property name="logicalGridLayout.rowHeight" value="24"/> <property name="processButton.height" value="24"/> </properties> </extension> This increases the height of the row by 3 pixel. Regards Claudio
workaround implemented for Juno: when OS != WinXP the default height is set to 23. This is sufficient as long as the text scaling of Win7 is not increased above 100%. Unfortunately on some screen resolutions win7 sets a default text scaling of 125%. in this cases the text is still jumping. for affected users the solution explained in Comment 6 can be used. In the future a dynamic layout would be desirable which always uses the correct height.
removed obsolete bugs due to new HTML UI.