mirror of
https://github.com/JFormDesigner/FlatLaf.git
synced 2025-12-08 06:50:56 +03:00
behaviour --> behavior
This commit is contained in:
@@ -165,7 +165,7 @@ public interface FlatClientProperties
|
||||
* The rule "Button.primary" can be applied to buttons only.
|
||||
* The rule ".secondary" can be applied to any component.
|
||||
* <p>
|
||||
* To have similar behaviour as in CSS, first the rule without type is applied,
|
||||
* To have similar behavior as in CSS, first the rule without type is applied,
|
||||
* then the rule with type.
|
||||
* E.g. setting style class to "foo" on a {@code JButton} uses rules
|
||||
* from UI default keys "[style].foo" and "[style]Button.foo".
|
||||
|
||||
@@ -118,7 +118,7 @@ public class FlatStylingSupport
|
||||
* The rule "Button.primary" can be applied to buttons only.
|
||||
* The rule ".secondary" can be applied to any component.
|
||||
* <p>
|
||||
* To have similar behaviour as in CSS, this method first gets the rule without type,
|
||||
* To have similar behavior as in CSS, this method first gets the rule without type,
|
||||
* then the rule with type and concatenates both rules.
|
||||
* E.g. invoking this method with parameters styleClass="foo" and type="Button" does following:
|
||||
* <pre>{@code
|
||||
|
||||
@@ -320,7 +320,7 @@ debug*/
|
||||
// - not opaque and
|
||||
// - border is not a flat border and
|
||||
// - opaque was explicitly set (to false)
|
||||
// (same behaviour as in AquaTextFieldUI)
|
||||
// (same behavior as in AquaTextFieldUI)
|
||||
if( !c.isOpaque() && FlatUIUtils.getOutsideFlatBorder( c ) == null && FlatUIUtils.hasOpaqueBeenExplicitlySet( c ) )
|
||||
return;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user