aboutsummaryrefslogtreecommitdiffstats
path: root/src/com/vaadin/terminal/gwt/client/VDebugConsole.java
diff options
context:
space:
mode:
authorJohannes Dahlström <johannes.dahlstrom@vaadin.com>2012-04-13 08:26:32 +0000
committerJohannes Dahlström <johannes.dahlstrom@vaadin.com>2012-04-13 08:26:32 +0000
commited20ba59aa3adb63118a3d6cd6ae986c4902793c (patch)
tree1883b8705b58863498bafb91dde5e90af2c92231 /src/com/vaadin/terminal/gwt/client/VDebugConsole.java
parent1e07642a6f7931855ccfc54560369a10ce4ff0df (diff)
downloadvaadin-framework-ed20ba59aa3adb63118a3d6cd6ae986c4902793c.tar.gz
vaadin-framework-ed20ba59aa3adb63118a3d6cd6ae986c4902793c.zip
Reverted accidental commit
svn changeset:23523/svn branch:6.8
Diffstat (limited to 'src/com/vaadin/terminal/gwt/client/VDebugConsole.java')
-rw-r--r--src/com/vaadin/terminal/gwt/client/VDebugConsole.java13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/com/vaadin/terminal/gwt/client/VDebugConsole.java b/src/com/vaadin/terminal/gwt/client/VDebugConsole.java
index 27479559b2..c43581b000 100644
--- a/src/com/vaadin/terminal/gwt/client/VDebugConsole.java
+++ b/src/com/vaadin/terminal/gwt/client/VDebugConsole.java
@@ -14,6 +14,7 @@ import com.google.gwt.core.client.Scheduler.ScheduledCommand;
import com.google.gwt.dom.client.Style;
import com.google.gwt.dom.client.Style.FontWeight;
import com.google.gwt.dom.client.Style.Overflow;
+import com.google.gwt.dom.client.Style.Position;
import com.google.gwt.dom.client.Style.Unit;
import com.google.gwt.event.dom.client.ClickEvent;
import com.google.gwt.event.dom.client.ClickHandler;
@@ -290,10 +291,10 @@ public class VDebugConsole extends VOverlay implements Console {
height = Integer.parseInt(split[3]);
autoScrollValue = Boolean.valueOf(split[4]);
} else {
- width = 500;
- height = 500;
- top = Window.getClientHeight() - 510;
- left = Window.getClientWidth() - 510;
+ width = 400;
+ height = 150;
+ top = Window.getClientHeight() - 160;
+ left = Window.getClientWidth() - 410;
}
setPixelSize(width, height);
setPopupPosition(left, top);
@@ -636,7 +637,7 @@ public class VDebugConsole extends VOverlay implements Console {
actions = new HorizontalPanel();
Style style = actions.getElement().getStyle();
- // style.setPosition(Position.ABSOLUTE);
+ style.setPosition(Position.ABSOLUTE);
style.setBackgroundColor("#666");
style.setLeft(135, Unit.PX);
style.setHeight(25, Unit.PX);
@@ -669,7 +670,7 @@ public class VDebugConsole extends VOverlay implements Console {
private void addHMParameter() {
UrlBuilder createUrlBuilder = Location.createUrlBuilder();
createUrlBuilder.setParameter("gwt.codesvr",
- Location.getHostName() + ":9997");
+ "localhost:9997");
Location.assign(createUrlBuilder.buildString());
}