* [ 1634807 ] Hierarchical Tab indentation not working

This commit is contained in:
Heng Sin Low 2007-01-15 09:20:15 +00:00
parent 1138622ba8
commit 5571c37bc7
4 changed files with 3191 additions and 5 deletions

View File

@ -43,7 +43,9 @@ public class AdempiereLookAndFeel extends com.jgoodies.looks.plastic.Plastic3DLo
/** Paint Round Corners */ /** Paint Round Corners */
protected static boolean ROUND = false; protected static boolean ROUND = false;
public static final String TABLEVEL = "TabLevel";
/** /**
* The Name * The Name
* @return Name * @return Name
@ -97,6 +99,7 @@ public class AdempiereLookAndFeel extends com.jgoodies.looks.plastic.Plastic3DLo
// Overwrite // Overwrite
putDefault (table, "ComboBoxUI"); putDefault (table, "ComboBoxUI");
putDefault (table, "LabelUI"); putDefault (table, "LabelUI");
putDefault (table, "TabbedPaneUI");
} // initClassDefaults } // initClassDefaults

File diff suppressed because it is too large Load Diff

View File

@ -60,7 +60,7 @@ public class CompiereLookAndFeel extends MetalLookAndFeel
/** Key of Client Property for Rectangle Items - if exists, the standard background is used */ /** Key of Client Property for Rectangle Items - if exists, the standard background is used */
public static final String BACKGROUND_FILL = "CompiereBackgroundFill"; public static final String BACKGROUND_FILL = "CompiereBackgroundFill";
/** Key of Client Property for CPanel */ /** Key of Client Property for CPanel */
public static final String TABLEVEL = "CompiereTabLevel"; public static final String TABLEVEL = "TabLevel";
/** Version tag */ /** Version tag */
public static final String VERSION = "R1.4.0"; public static final String VERSION = "R1.4.0";

View File

@ -19,9 +19,9 @@ package org.compiere.swing;
import java.awt.*; import java.awt.*;
import javax.swing.*; import javax.swing.*;
import org.adempiere.plaf.AdempiereLookAndFeel;
import org.adempiere.plaf.AdempierePLAF; import org.adempiere.plaf.AdempierePLAF;
import org.compiere.plaf.*; import org.compiere.plaf.*;
import org.compiere.util.*;
/** /**
* Adempiere Panel supporting colored Backgrounds * Adempiere Panel supporting colored Backgrounds
@ -154,9 +154,9 @@ public class CPanel extends JPanel
public void setTabLevel (int level) public void setTabLevel (int level)
{ {
if (level == 0) if (level == 0)
putClientProperty(CompiereLookAndFeel.TABLEVEL, null); putClientProperty(AdempiereLookAndFeel.TABLEVEL, null);
else else
putClientProperty(CompiereLookAndFeel.TABLEVEL, new Integer(level)); putClientProperty(AdempiereLookAndFeel.TABLEVEL, new Integer(level));
} // setTabLevel } // setTabLevel
/** /**