- Joined
- 24 Jan 2002
- Messages
- 12,388
I love the app but I can't get the balloon tips to work with it.
:sad face:
:sad face:
$med_siz = StringSplit($hour & ":" & $min & $sec & $ampm & $date, "abcdeghknopqrstuvxyz")
$wide_siz = StringSplit($hour & ":" & $min & $sec & $ampm & $date, "0123456789mwABCDEFGHIJKLMNOPQRSTUVWXYZ")
Bug is verified, fixing.seconds show immediately after the minutes
I was a bit too zealous with the sizing formula, that is why all the sizing is going on. Fixing.constantly changing size
No, the letters ‘mw’ should not be in the first line. The $x_siz functions represent the width each character takes up, there are approximately 3 different sizes that every character will fit into properly, give or take a few pixels. ‘m’ and ‘w’ are wider than most of the other lowercase letters therefore don’t fit into the same size category.shouldn't the lowercase 'mw' in the second line be in the first line
These are all the characters I've defined:
$thin_siz = StringSplit($hour & ":" & $min & $sec & $ampm & $date, "fijl :-")
$med_siz = StringSplit($hour & ":" & $min & $sec & $ampm & $date, "abcdeghknopqrstuvxyz")
$wide_siz = StringSplit($hour & ":" & $min & $sec & $ampm & $date, "0123456789mwABCDEFGHIJKLMNOPQRSTUVWXYZ")
This is the resizing formula. It calculates the number of each sized characters, then based on the height of your current start button adjusts it accordingly.
$resize = ($thin_siz[0]-1) * ($Button1_Position[3] * 0.125) + ($med_siz[0]-1) * ($Button1_Position[3] * 0.3125) + ($wide_siz[0]-1) * ($Button1_Position[3] * 0.40625)
This is the line that is actually moving the start buton, $Button1_Position is an array holding information from the start button in it's original state. [0]=x position, [1]=y position, [2]=width, [3]=height
ControlMove("classname=Shell_TrayWnd", "", "Button1", $Button1_Position[0], $Button1_Position[1], ($Button1_Position[2] * 0.58 + $resize), $Button1_Position[3])
I’ll see what can be done.blank space after the minutes a bit too big