command window tooltip position |
Author: |
Message: |
uam
Junior Member
Posts: 51
Joined: May 2004
|
O.P. command window tooltip position
Hi,
I have version 3.01.94 and would like to mention just a little notice, the tooltips describing commands are aligned at right, and when the MSN window is near the right side of screen, they are cropped instead of moved or left-aligned.
|
|
07-21-2004 12:28 AM |
|
|
Choli
Elite Member
Choli
Posts: 4714 Reputation: 42
43 / /
Joined: Jan 2003
|
RE: command window tooltip position
Can you post a screen shot? That isn't supposed to happen. Plus should place the window in a place where you can see it without it nor the tooltips being cropped.
|
|
07-22-2004 08:07 PM |
|
|
CookieRevised
Elite Member
Posts: 15517 Reputation: 173
– / /
Joined: Jul 2003
Status: Away
|
RE: command window tooltip position
quote: Originally posted by Choli
Plus should place the window in a place where you can see it without it nor the tooltips being cropped.
It does place the window always completely onscreen. But the tooltips are placed relative to the window, this means that the window can be placed on the right side of your screen, but that the tooltips wont be visible.
But this said, the only time that the window will be put on the rightside of the screen is when it doesn't have enough place to popup on it's normal position, and that means your convoscreen itself must be almost totaly off screen (even more off screen then shown in the sshot), in other words, it would be useless anyway...
Maybe what can be done is to check where the commandwindow is placed on the screen and from that decide where to put the tooltips: If it is left from the center of your screen then show the tooltips on the right, if it is on the right from the center of your screen, then show the tooltips on the left....
Attachment: commandtooltip.png (15.39 KB)
This file has been downloaded 265 time(s).
This post was edited on 07-22-2004 at 08:33 PM by CookieRevised.
.-= A 'frrrrrrrituurrr' for Wacky =-.
|
|
07-22-2004 08:26 PM |
|
|
uam
Junior Member
Posts: 51
Joined: May 2004
|
O.P. RE: command window tooltip position
Yes.. this is the case, you were faster CookieRevised
|
|
07-22-2004 08:32 PM |
|
|
Choli
Elite Member
Choli
Posts: 4714 Reputation: 42
43 / /
Joined: Jan 2003
|
RE: command window tooltip position
quote: Originally posted by CookieRevised
if it is on the right from the center of your screen, then show the tooltips on the left....
we (at least left-to-right languages speaking people) are used to see tooltips at the right of the cursor or button or whatever the tooltip is for, so IMO the tooltip should be displayed on the left only when the window is near enough the right edge of the screen; just when the tooltip wouldn't fit on the right. (that would imply a more complex code, of course)
|
|
07-22-2004 09:08 PM |
|
|
CookieRevised
Elite Member
Posts: 15517 Reputation: 173
– / /
Joined: Jul 2003
Status: Away
|
RE: command window tooltip position
quote: Originally posted by Choli
quote: Originally posted by CookieRevised
if it is on the right from the center of your screen, then show the tooltips on the left....
we (at least left-to-right languages speaking people) are used to see tooltips at the right of the cursor or button or whatever the tooltip is for, so IMO the tooltip should be displayed on the left only when the window is near enough the right edge of the screen; just when the tooltip wouldn't fit on the right. (that would imply a more complex code, of course)
Yup, thought of that also, but that means that it must process all the tooltips first to get the longest one, calculate the pixels, etc. and do that every time because the length can change if you change the language...
While the method I discribed doesn't depend on language and doesn't need the processing of all tooltips and thus would be faster...
Also, I, personaly, wouldn't mind or find it strange if it was shown on the left, and that's because of the way it is used as a fixed addition to the window.... if it was a normal tooltip (shown beside the mouse cursor), then, yes, I would find it strange if it was shown on the left...
Anyways, it was just a humble example of how to solve it without saying how Patchou should do it of course. I'm certain he'll come up with something nifty
This post was edited on 07-23-2004 at 01:00 AM by CookieRevised.
.-= A 'frrrrrrrituurrr' for Wacky =-.
|
|
07-23-2004 12:51 AM |
|
|
Vantage
Full Member
Bam
Posts: 374 Reputation: -1
– / / –
Joined: Jul 2003
|
RE: command window tooltip position
quote: Maybe what can be done is to check where the commandwindow is placed on the screen and from that decide where to put the tooltips: If it is left from the center of your screen then show the tooltips on the right, if it is on the right from the center of your screen, then show the tooltips on the left....
that = more loading time
|
|
07-23-2004 01:07 AM |
|
|
CookieRevised
Elite Member
Posts: 15517 Reputation: 173
– / /
Joined: Jul 2003
Status: Away
|
RE: command window tooltip position
quote: Originally posted by Vantage
that = more loading time
Loading time? More? Howso? Checking where the window will be positioned doesn't have anything todo with loading time. Furthermore, checking the position of the window is done already (in fact, it is already done for every window)..... The only thing that needs to be added is to check the screen width (which is one simple call), divide that by 2 and you have your value to check against.....
I'm sorry if this sounds harsh, but don't post if you don't know what you're talking about....
This post was edited on 07-23-2004 at 03:48 AM by CookieRevised.
.-= A 'frrrrrrrituurrr' for Wacky =-.
|
|
07-23-2004 01:26 AM |
|
|
uam
Junior Member
Posts: 51
Joined: May 2004
|
O.P. RE: command window tooltip position
I don't think all of the tooltips have to be pre-loaded.
Just check it before displaying and rearrange only those that are to be cropped.
Or - but this is quite tricky - some advanced applications start to wrap the tooltip text into more rows...
|
|
07-23-2004 08:32 AM |
|
|
CookieRevised
Elite Member
Posts: 15517 Reputation: 173
– / /
Joined: Jul 2003
Status: Away
|
RE: command window tooltip position
quote: Originally posted by uam
I don't think all of the tooltips have to be pre-loaded.
Just check it before displaying and rearrange only those that are to be cropped.
that would look/feel like crap IMO; they should be displayed all on the same side. Furthermore, this requires just the exact same processing per tooltip in the end. Only now it is done each time a tooltip is shown, resulting in slower code ("slower" is of course very relative, you wont notice it, but it will be slower.)
quote: Originally posted by uam
Or - but this is quite tricky - some advanced applications start to wrap the tooltip text into more rows...
There is nothing tricky/advanced with that. And what has an "application start" to do with that?.. Anyways, this wont do anything good, look at my screenshot, how are you gonna wrap it? There is only space for 4 characters......
This post was edited on 07-23-2004 at 12:29 PM by CookieRevised.
.-= A 'frrrrrrrituurrr' for Wacky =-.
|
|
07-23-2004 12:27 PM |
|
|
Pages: (2):
« First
[ 1 ]
2
»
Last »
|
|