aMSN Forums
February 12, 2012, 03:10:05 am *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: New forum for aMSN !!
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Distance between group name and contact  (Read 2432 times)
Fenix-TX
Super Power User
**
Offline Offline

Posts: 660


View Profile
« on: January 13, 2007, 12:56:17 am »

Hi! With the new contact list, i have a little issue with emerald (ok, that's screenshot is emerald but with other color that i modified). The problem is with the icon of a contact and the contact expand background. See the screenshot:




So i've decided to add a new key on skin.tcl:
Quote from: "line 46"
proc InitSkinDefaults { } {
      global emoticon_number emotions emotions_names emotions_data
      set emoticon_number 0
      set emotions_names
    if {
[info exists emotions] } {unset emotions}
      if { [info exists emotions_data] } {unset emotions_data}

      ::skin::setKey bigstate_xpad 0
      ::skin::setKey bigstate_ypad 3
      
      ::skin::setKey mystatus_xpad 5
      ::skin::setKey mystatus_ypad 0
      
      ::skin::setKey mailbox_xpad 5
      ::skin::setKey mailbox_ypad 0
      
      ::skin::setKey contract_xpad 5
      ::skin::setKey contract_ypad 0
      
      ::skin::setKey expand_xpad 5
      ::skin::setKey expand_ypad 0

      ::skin::setKey contact_ytop 0
      
   }

Ok, that's name prehaps is not the best...but i've only used to test it.

And now, in guicontactlist.tcl:

Quote from: "line 826"

      # Set the beginning coords for the next drawings
      set contact_ytop_pos [::skin::getKey contact_ytop]
      set x_state_icon_pos [expr {$xpos + [image width $update_img] + 3}]
      set y_state_icon_pos [expr {($ypos + [image height $update_img] / 2)+$contact_ytop_pos}]
      # Draw status-icon
      $canvas create image $x_state_icon_pos $y_state_icon_pos -image $img -anchor w -tags [list contact icon $tag]


Now, in settings.xml i've added a value to that distance:
Code:

<contact_ytop>5</contact_ytop>


And now you can see the difference:




What do you think?
Logged
snipe2004
Super Power User
**
Offline Offline

Posts: 827


View Profile
« Reply #1 on: January 13, 2007, 12:13:51 pm »

You're right, I did never noticed it since I use Emerald 2.0, as it's really a detail ^^
It's more visible in your modified skin because you use a dark blue where GuS use a light grey, I think.

But nice idea to change it (I just hope it's related to the new CL itself, and not the skin) !
It works well, thanks Wink
Logged

Voyager 11.10
Fenix-TX
Super Power User
**
Offline Offline

Posts: 660


View Profile
« Reply #2 on: January 13, 2007, 11:32:45 pm »

This problem is solved on new SVN, so forget it Smiley
Logged
Phil
Administrator
Super Power User
*****
Offline Offline

Posts: 653


View Profile
« Reply #3 on: January 14, 2007, 01:40:18 pm »

I don't understand how I fixed that... But the essential is I fixed it Wink
Logged

Phil

AMsn is great, and it will be greater :wink:
snipe2004
Super Power User
**
Offline Offline

Posts: 827


View Profile
« Reply #4 on: January 20, 2007, 12:16:29 pm »

Well... Here, it doesn't seems to be solved in SVN Sad
Have a look at this screen, you can see it's not corrected :



Am I the only one that doesn't have it corrected ??
Logged

Voyager 11.10
Fenix-TX
Super Power User
**
Offline Offline

Posts: 660


View Profile
« Reply #5 on: January 20, 2007, 12:40:52 pm »

Well, i was wrong, you are right. I didn't notice using icons but yes, it's not completely on the right place, the difference is so small.....i had to approach to my screen to see it :S
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!