diff options
author | Johannes Dahlström <johannesd@vaadin.com> | 2012-10-31 17:31:16 +0200 |
---|---|---|
committer | Johannes Dahlström <johannesd@vaadin.com> | 2012-11-14 15:18:36 +0200 |
commit | 9d30f9ce6640be87cdbd0756886b2d704a4970bc (patch) | |
tree | 2605044ff8a1d7d51dceb21afbdd54e8c1d164f5 /client | |
parent | 1b7a4a1ee9e03f445cbfcbb520a5ac970ccf47de (diff) | |
download | vaadin-framework-9d30f9ce6640be87cdbd0756886b2d704a4970bc.tar.gz vaadin-framework-9d30f9ce6640be87cdbd0756886b2d704a4970bc.zip |
UI stylename handling (#9832)
* Change VUI class name from v-view to v-ui
* Use state.primaryStyleName so it can be changed
* Remove useless v-app-VaadinServiceSession from bootstrap root div
Change-Id: I67d3cb3efb5b4033416dcfcf7f39cbc71ac70cbc
Diffstat (limited to 'client')
-rw-r--r-- | client/src/com/vaadin/client/ui/VUI.java | 4 | ||||
-rw-r--r-- | client/src/com/vaadin/client/ui/ui/UIConnector.java | 2 |
2 files changed, 1 insertions, 5 deletions
diff --git a/client/src/com/vaadin/client/ui/VUI.java b/client/src/com/vaadin/client/ui/VUI.java index 7f067c605d..a4d1df9423 100644 --- a/client/src/com/vaadin/client/ui/VUI.java +++ b/client/src/com/vaadin/client/ui/VUI.java @@ -51,8 +51,6 @@ public class VUI extends SimplePanel implements ResizeHandler, Window.ClosingHandler, ShortcutActionHandlerOwner, Focusable, HasResizeHandlers { - private static final String CLASSNAME = "v-view"; - private static int MONITOR_PARENT_TIMER_INTERVAL = 1000; /** For internal use only. May be removed or replaced in the future. */ @@ -157,8 +155,6 @@ public class VUI extends SimplePanel implements ResizeHandler, public VUI() { super(); - setStyleName(CLASSNAME); - // Allow focusing the view by using the focus() method, the view // should not be in the document focus flow getElement().setTabIndex(-1); diff --git a/client/src/com/vaadin/client/ui/ui/UIConnector.java b/client/src/com/vaadin/client/ui/ui/UIConnector.java index a0898b3281..a51cccf355 100644 --- a/client/src/com/vaadin/client/ui/ui/UIConnector.java +++ b/client/src/com/vaadin/client/ui/ui/UIConnector.java @@ -355,7 +355,7 @@ public class UIConnector extends AbstractComponentContainerConnector implements * Must set absolute position if the child has relative height and * there's a chance of horizontal scrolling as some browsers will * otherwise not take the scrollbar into account when calculating the - * height. Assuming v-view does not have an undefined width for now, see + * height. Assuming v-ui does not have an undefined width for now, see * #8460. */ if (child.isRelativeHeight() && !BrowserInfo.get().isIE9()) { |