Revision: 4604 http://sourceforge.net/p/vexi/code/4604 Author: clrg Date: 2013-11-29 15:08:38 +0000 (Fri, 29 Nov 2013) Log Message: ----------- Set the "text" cursor specifically on the edit; this has the downside whilst you can still click-to-edit whilst the cursor is a pointer (e.g. over the edge bevel/pad) but if setting the cursor on the root box then we get the edit cursor over less desirable parts of widgets e.g. spin buttons
Modified Paths: -------------- branches/vexi3/org.vexi-vexi.widgets/src_main/org/vexi/lib/text/default.t branches/vexi3/org.vexi-vexi.widgets/src_main/org/vexi/theme/classic/textfield.t Modified: branches/vexi3/org.vexi-vexi.widgets/src_main/org/vexi/lib/text/default.t =================================================================== --- branches/vexi3/org.vexi-vexi.widgets/src_main/org/vexi/lib/text/default.t 2013-11-29 12:13:21 UTC (rev 4603) +++ branches/vexi3/org.vexi-vexi.widgets/src_main/org/vexi/lib/text/default.t 2013-11-29 15:08:38 UTC (rev 4604) @@ -44,9 +44,9 @@ </role.repeatable> </ui:box> - thisbox.cursor = "text"; thisbox.v_cursor = $cursor; thisbox.v_edit = $edit; + thisbox.v_edit.cursor = "text"; /** syncCursor function called by edit.t */ $edit.syncCursor = function(v) { @@ -96,7 +96,7 @@ static.setMouseCursor = function(v) { cascade = v; - trapee.cursor = (v and trapee.interactive)?"text":null; + trapee.v_edit.cursor = (v and trapee.interactive)?"text":null; } </vexi> Modified: branches/vexi3/org.vexi-vexi.widgets/src_main/org/vexi/theme/classic/textfield.t =================================================================== --- branches/vexi3/org.vexi-vexi.widgets/src_main/org/vexi/theme/classic/textfield.t 2013-11-29 12:13:21 UTC (rev 4603) +++ branches/vexi3/org.vexi-vexi.widgets/src_main/org/vexi/theme/classic/textfield.t 2013-11-29 15:08:38 UTC (rev 4604) @@ -13,7 +13,7 @@ <ui:box id="content" /> <lib:layout.pad id="shadowpad" padding="3" vshrink="true"> <ui:box id="shadow" align="left" textcolor="#999999" /> - <ui:box width="2" /> // match text.default cursor spacer + <ui:box width="2" /> // match text.default cursor spacer </lib:layout.pad> </ui:box> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------------ Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk _______________________________________________ Vexi-svn mailing list Vexi-svn@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/vexi-svn