diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2011-10-06 11:02:03 +0200 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2011-10-06 11:02:03 +0200 |
commit | 034c2ad36a0d659cd768922ba14cf7de77ba1ac0 (patch) | |
tree | 714b280eb194afe04f9a56a9bb9950a9a1bf3202 /vaadin-app | |
parent | d8922fbd6c36cd5e3239e1aa9d62256ce6dd5149 (diff) | |
download | skeletons-034c2ad36a0d659cd768922ba14cf7de77ba1ac0.zip skeletons-034c2ad36a0d659cd768922ba14cf7de77ba1ac0.tar.gz |
vaadin-app: fix copypaste
Diffstat (limited to 'vaadin-app')
-rw-r--r-- | vaadin-app/src/ch/asynk/helloworld/MainLayout.java | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/vaadin-app/src/ch/asynk/helloworld/MainLayout.java b/vaadin-app/src/ch/asynk/helloworld/MainLayout.java index 29504cb..d4481c1 100644 --- a/vaadin-app/src/ch/asynk/helloworld/MainLayout.java +++ b/vaadin-app/src/ch/asynk/helloworld/MainLayout.java @@ -21,11 +21,11 @@ public class MainLayout extends VerticalLayout { public MainLayout(Context context) { ctx = context; // - final AbstractComponent ctrlPanel = buildPanel(); - ctrlPanel.setWidth(250,UNITS_PIXELS); - ctrlPanel.setHeight(300,UNITS_PIXELS); - addComponent(ctrlPanel); - setComponentAlignment(ctrlPanel, Alignment.MIDDLE_CENTER); + final AbstractComponent pa = buildPanel(); + pa.setWidth(250,UNITS_PIXELS); + pa.setHeight(300,UNITS_PIXELS); + addComponent(pa); + setComponentAlignment(pa, Alignment.MIDDLE_CENTER); // } |