Custom UI Icon Bug [Fixed]

Description: It's archive, posting new is here http://wohlsoft.ru/forum/viewforum.php?f=11

Squishy Rex M
Topic author, Contributor
Contributor
Avatar
Squishy Rex M
Topic author, Contributor
Contributor
Age: 28
Reputation: 109
Posts: 254
Joined: 24 Feb 2014
Location: Australia

Post #1by Squishy Rex » 8 Oct 2014, 10:08

While I was replacing the icons with the customs I've made. I found these bugs:
1. This is quite a big one. The zoom_reset, zoom_in and zoom_out icons remain as the default zoom icons, and the custom ones for some reason, although named correctly to the line fill buttons. Replacing the line-fill buttons does nothing however.

2. The Water Lock Button cannot be customized and it remains the default icons even when a custom icon has been used.
Squishy Rex's CGFX Pack v1.7
Image
To show your support add any of these Userbars to your Signature!
Image

Wohlstand M
Lead Developer
Lead Developer
Avatar
Wohlstand M
Lead Developer
Lead Developer
Age: 30
Reputation: 493
Posts: 1747
Joined: 15 Feb 2014
English Pronouns: he/him
Location: Moscow, Russia
Website Youtube channel URL Skype Tencent QQ

Post #2by Wohlstand » 8 Oct 2014, 10:23

Ouch! :comando:

1) My mistakes: I was stored zoom icons into "edit place" slots :crazy: I.e. instead of zoom buttons you customize the square_fill, line_tool and overwrite_mode

2) the water locks is a "physenv-free" and "physenv-locked", I.e. "Physical Environment"

Added after 1 hour 40 minutes:
I was made some fix:
https://github.com/Wohlhabend-Networks/PlatGEnWoh ... b082fc658e57ab72996098869db65b
Try laboratory, it should work now

Squishy Rex M
Topic author, Contributor
Contributor
Avatar
Squishy Rex M
Topic author, Contributor
Contributor
Age: 28
Reputation: 109
Posts: 254
Joined: 24 Feb 2014
Location: Australia

Post #3by Squishy Rex » 8 Oct 2014, 15:13

Alrighty then, I'll download the fix and keep going. Thanks Wohlstand. ;-)

Added after 17 hours 48 minutes:
Sorry for the unlock, however, although the zoom and square fill buttons now work correctly, the water lock still refuses to use the customized icons. I have tried setting the names of the lock icons to both
- lock_water_cl
- lock_water_op

and also
- physenv-free
- physenv-locked

I've checked to make sure both correspond with the theme config file and they match, but the icon still won't change.


Also, I now only have to make the World Map lock icons and the 21 section icons and the theme will be finished.
Squishy Rex's CGFX Pack v1.7
Image
To show your support add any of these Userbars to your Signature!
Image

Wohlstand M
Lead Developer
Lead Developer
Avatar
Wohlstand M
Lead Developer
Lead Developer
Age: 30
Reputation: 493
Posts: 1747
Joined: 15 Feb 2014
English Pronouns: he/him
Location: Moscow, Russia
Website Youtube channel URL Skype Tencent QQ

Post #4by Wohlstand » 9 Oct 2014, 9:15

I was checked: but in the theme.ini file: I was wrote "physenv-free=locked/lock_water_op.png" and "physenv-locked=locked/lock_water_cl.png" lines.
The mstake is stupid and simple: written "image was plased in the "locked" folder, but physically it placed in the 'locks'. " To fix - change this path to correct and it will work (I just tested)

Squishy Rex M
Topic author, Contributor
Contributor
Avatar
Squishy Rex M
Topic author, Contributor
Contributor
Age: 28
Reputation: 109
Posts: 254
Joined: 24 Feb 2014
Location: Australia

Post #5by Squishy Rex » 9 Oct 2014, 9:35

No problem, it's fixed and working. I'll have the Theme Pack finished tonight.
Squishy Rex's CGFX Pack v1.7
Image
To show your support add any of these Userbars to your Signature!
Image


Return to “Troubleshooting”

Who is online (over the past 5 minutes)

Users browsing this forum: 1 guest