On Saturday 09 April 2016 19:56:01 Krzysztof wrote:
> Hi Martin,
>
> I guess that TStringEdit.Empty_X is a "text hint" or more commonly
> known as "placeholder" right? Looking at options, is it possible to
> show it even when it is focused (but still empty)? Qt edits from
> version 5.0 are showing placeholders that way by default. Very helpful
> in case when have modal login and password dialog and login edit is
> first active control - user see placeholder even when form is showing
> with active login edit.
>
Could be an option. I'll take a look.

> Also found bug (I think so). When clicking on TStringEdit with empty
> text tf_xcentered then my mouse cursor is moving to the left edge
> where caret position is. Same without tf_xcentered but not so much. If
> empty text is empty then it is ok
>
MSEgui lets the mouse pointer follow the character which has been clicked. 
Assume a TIntegerEdit which has TextFlags tf_right set with the 
Value "12345". TextFlagsActive has not set tf_right. If one clicks betwen "3" 
and "4" while the not focused widget has right aligned text the mouse pointer 
follows the movement by left alignment of the text in focused widget so that 
the mouse pointer still is betwen "3" and "4" for easy sub-text selection. In 
case of Empty_Text additionally the text changes which influences the shift 
amount.

Martin

------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial! http://pubads.g.doubleclick.net/
gampad/clk?id=1444514301&iu=/ca-pub-7940484522588532
_______________________________________________
mseide-msegui-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk

Reply via email to