mirror of
https://github.com/JFormDesigner/FlatLaf.git
synced 2025-12-06 14:00:55 +03:00
FlatInspector: added FlatLaf style to tooltip
This commit is contained in:
@@ -547,6 +547,12 @@ public class FlatInspector
|
||||
appendRow( buf, "Left-to-right", String.valueOf( c.getComponentOrientation().isLeftToRight() ) );
|
||||
appendRow( buf, "Parent", (c.getParent() != null ? toString( c.getParent().getClass(), classHierarchy ) : "null") );
|
||||
|
||||
if( c instanceof JComponent ) {
|
||||
Object style = ((JComponent)c).getClientProperty( FlatClientProperties.STYLE );
|
||||
if( style != null )
|
||||
appendRow( buf, "FlatLaf Style", style.toString() );
|
||||
}
|
||||
|
||||
// append parent level
|
||||
buf.append( "<tr><td colspan=\"2\">" );
|
||||
if( parentLevel > 0 )
|
||||
|
||||
Reference in New Issue
Block a user