Changeset 9350 in josm
- Timestamp:
- 2016-01-09T12:21:27+01:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/oauth/FullyAutomaticAuthorizationUI.java
r9059 r9350 95 95 HTMLEditorKit kit = (HTMLEditorKit) pnlMessage.getEditorPane().getEditorKit(); 96 96 kit.getStyleSheet().addRule( 97 ".warning-body {background-color: rgb(253,255,221);padding: 10pt; " +97 ".warning-body {background-color:#DDFFDD; padding: 10pt; " + 98 98 "border-color:rgb(128,128,128);border-style: solid;border-width: 1px;}"); 99 99 kit.getStyleSheet().addRule("ol {margin-left: 1cm}"); … … 136 136 valPassword = new PasswordValidator(tfPassword); 137 137 valPassword.validate(); 138 139 gc.gridy = 3;140 gc.gridx = 0;141 gc.anchor = GridBagConstraints.NORTHWEST;142 gc.fill = GridBagConstraints.HORIZONTAL;143 gc.weightx = 1.0;144 gc.gridwidth = 2;145 pnlMessage = new HtmlPanel();146 kit = (HTMLEditorKit) pnlMessage.getEditorPane().getEditorKit();147 kit.getStyleSheet().addRule(148 ".warning-body {background-color:rgb(253,255,221);padding: 10pt; " +149 "border-color:rgb(128,128,128);border-style: solid;border-width: 1px;}");150 kit.getStyleSheet().addRule("ol {margin-left: 1cm}");151 pnlMessage.setText("<html><body>"152 + "<p class=\"warning-body\">"153 + tr("<strong>Warning:</strong> JOSM does login <strong>once</strong> using a secure connection.")154 + "</p>"155 + "</body></html>");156 pnl.add(pnlMessage, gc);157 138 158 139 // filler - grab remaining space
Note:
See TracChangeset
for help on using the changeset viewer.