2 Jul 2009 11:37 AM #1
[CLOSED] ContentPanel's header text selection
I believe this is a bug... I am using 2.0-m3:
ContentPanel cp = new ContentPanel(); cp.setHeading("Test"); cp.getHeader().disableTextSelection(false); RootPanel.get().add(cp);
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).
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.