kotwal-itpro commented on issue #9124:
URL: https://github.com/apache/hop/issues/9124#issuecomment-6479860299

   I looked at this one. `alignWithProviderLine` moves the two text fields in 
by `wToolBar.computeSize(SWT.DEFAULT, SWT.DEFAULT).x + margin`, measured once 
in `widgetsPopulated`. The 26 px gap (883 vs 909) is about one toolbar item, so 
on this GTK setup the toolbar looks narrower when it's measured than after the 
final layout. CI runs the UI tests under Xvfb with the default theme and 
passes, which fits a theme- or scale-dependent size.
   
   A fix that doesn't depend on when the toolbar is measured would take the 
inset from the laid-out provider field (`line.getClientArea().width` minus the 
right edge of `getwCombo()`), and redo it on a resize of the toolbar. 
@mattcasters, which GTK theme and display scale does your WSL desktop use? I'd 
like to reproduce it before opening a PR.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to