the thing is, the dbtreeview on smart client is actually a wrapper around java's swing tree control, and so, if there is no setting/support for
a desired UI change, we can't do it either (this is related to "no way to control the space between the start of text and the left side / no possibility to span the selected background color over the whole width"),
but the best way is, if you create a case, so we can have a look.
as for the background/foreground, you could try to change the LAF colors on solution open
- Code: Select all
var foregroundColor = new Packages.javax.swing.plaf.ColorUIResource(Packages.java.awt.Color.decode('#00ffff'));
var backgroundColor = new Packages.javax.swing.plaf.ColorUIResource(Packages.java.awt.Color.decode('#ff0000'));
var uiDefaults = Packages.javax.swing.UIManager.getDefaults();
uiDefaults.put("Tree.selectionBackground", backgroundColor);
uiDefaults.put("Tree.selectionForeground", foregroundColor);