Changeset 8509 in josm for trunk/src/org/openstreetmap/josm/gui/oauth/FullyAutomaticAuthorizationUI.java
- Timestamp:
- 2015-06-20T14:36:00+02:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/oauth/FullyAutomaticAuthorizationUI.java
r8461 r8509 94 94 HtmlPanel pnlMessage = new HtmlPanel(); 95 95 HTMLEditorKit kit = (HTMLEditorKit)pnlMessage.getEditorPane().getEditorKit(); 96 kit.getStyleSheet().addRule(".warning-body {background-color:rgb(253,255,221);padding: 10pt; border-color:rgb(128,128,128);border-style: solid;border-width: 1px;}"); 96 kit.getStyleSheet().addRule( 97 ".warning-body {background-color:rgb(253,255,221);padding: 10pt; border-color:rgb(128,128,128);border-style: solid;border-width: 1px;}"); 97 98 kit.getStyleSheet().addRule("ol {margin-left: 1cm}"); 98 99 pnlMessage.setText("<html><body><p class=\"warning-body\">" … … 143 144 pnlMessage = new HtmlPanel(); 144 145 kit = (HTMLEditorKit)pnlMessage.getEditorPane().getEditorKit(); 145 kit.getStyleSheet().addRule(".warning-body {background-color:rgb(253,255,221);padding: 10pt; border-color:rgb(128,128,128);border-style: solid;border-width: 1px;}"); 146 kit.getStyleSheet().addRule( 147 ".warning-body {background-color:rgb(253,255,221);padding: 10pt; border-color:rgb(128,128,128);border-style: solid;border-width: 1px;}"); 146 148 kit.getStyleSheet().addRule("ol {margin-left: 1cm}"); 147 149 pnlMessage.setText("<html><body>"
Note:
See TracChangeset
for help on using the changeset viewer.