* [ 1634807 ] Hierarchical Tab indentation not working
This commit is contained in:
parent
1138622ba8
commit
5571c37bc7
|
@ -43,7 +43,9 @@ public class AdempiereLookAndFeel extends com.jgoodies.looks.plastic.Plastic3DLo
|
|||
|
||||
/** Paint Round Corners */
|
||||
protected static boolean ROUND = false;
|
||||
|
||||
|
||||
public static final String TABLEVEL = "TabLevel";
|
||||
|
||||
/**
|
||||
* The Name
|
||||
* @return Name
|
||||
|
@ -97,6 +99,7 @@ public class AdempiereLookAndFeel extends com.jgoodies.looks.plastic.Plastic3DLo
|
|||
// Overwrite
|
||||
putDefault (table, "ComboBoxUI");
|
||||
putDefault (table, "LabelUI");
|
||||
putDefault (table, "TabbedPaneUI");
|
||||
|
||||
} // initClassDefaults
|
||||
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -60,7 +60,7 @@ public class CompiereLookAndFeel extends MetalLookAndFeel
|
|||
/** Key of Client Property for Rectangle Items - if exists, the standard background is used */
|
||||
public static final String BACKGROUND_FILL = "CompiereBackgroundFill";
|
||||
/** Key of Client Property for CPanel */
|
||||
public static final String TABLEVEL = "CompiereTabLevel";
|
||||
public static final String TABLEVEL = "TabLevel";
|
||||
|
||||
/** Version tag */
|
||||
public static final String VERSION = "R1.4.0";
|
||||
|
|
|
@ -19,9 +19,9 @@ package org.compiere.swing;
|
|||
import java.awt.*;
|
||||
import javax.swing.*;
|
||||
|
||||
import org.adempiere.plaf.AdempiereLookAndFeel;
|
||||
import org.adempiere.plaf.AdempierePLAF;
|
||||
import org.compiere.plaf.*;
|
||||
import org.compiere.util.*;
|
||||
|
||||
/**
|
||||
* Adempiere Panel supporting colored Backgrounds
|
||||
|
@ -154,9 +154,9 @@ public class CPanel extends JPanel
|
|||
public void setTabLevel (int level)
|
||||
{
|
||||
if (level == 0)
|
||||
putClientProperty(CompiereLookAndFeel.TABLEVEL, null);
|
||||
putClientProperty(AdempiereLookAndFeel.TABLEVEL, null);
|
||||
else
|
||||
putClientProperty(CompiereLookAndFeel.TABLEVEL, new Integer(level));
|
||||
putClientProperty(AdempiereLookAndFeel.TABLEVEL, new Integer(level));
|
||||
} // setTabLevel
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue