-
2 Jul 2009 11:37 AM #1
[CLOSED] ContentPanel's header text selection
[CLOSED] ContentPanel's header text selection
Hi,
I believe this is a bug... I am using 2.0-m3:
The code above does NOT enable text selection of "Test". Setting the header text in an alternative way doesn't seem to help:Code:ContentPanel cp = new ContentPanel(); cp.setHeading("Test"); cp.getHeader().disableTextSelection(false); RootPanel.get().add(cp);
Thanks,Code:cp.getHeader().setText("Test");
Yaakov.
-
2 Jul 2009 11:41 AM #2
Try to inspect the element with firebug. There are css rules assigned taht stop selecting.
-
2 Jul 2009 11:54 AM #3
Just place the code snippet I provided into any EntryPoint's onModuleLoad method and that's all you need to see this behavior (or lack thereof).
Thanks,
Yaakov.
-
2 Jul 2009 12:19 PM #4
Try to inspect the element with firebug. There are css rules assigned taht stop selecting the text (x-unselectable). You have to remove that.
Thank you for reporting this bug. We will make it our priority to review this report.


Reply With Quote