Opened 13 years ago

Closed 13 years ago

#833 closed defect (fixed)

Picture for showCoords not transparent (blue_red)

Reported by: frankjaeger Owned by: marc
Priority: trivial Milestone: 2.7.2 release
Component: user interface Version: 2.7.1
Keywords: Cc:

Description

The Picture for "showCoords_div"-Button

/img/button_blue_red/coords_off.png

/img/button_blue_red/coords_over.png

are white but not transparent. The difference is only visible, when the GUI has a non-white body-background.

Change History (6)

comment:1 by astrid_emde, 13 years ago

Owner: changed from dev to marc

comment:2 by astrid_emde, 13 years ago

marc : could you solve this?

comment:3 by marc, 13 years ago

take a look at gui_digitize in mb2.7....

The gui got a yellow background and the 2 buttons seems to be ok for me.

regarsds Marc

comment:4 by astrid_emde, 13 years ago

@marc - looks fine to me in gui_digitize @frank - please check

comment:5 by frankjaeger, 13 years ago

'gui_digitize' is OK. The png-files are OK.

The reason was found in the database. All GUIs, that where updated from older Mapbender-Versions, have:

gui_element.e_more_styles = 'background-color:white; ...'

which was not removed by the update-script.

gui_element.e_more_styles is empty in gui_digitize and other templates.

comment:6 by astrid_emde, 13 years ago

Resolution: fixed
Status: newclosed

Added SQL to remove background-color to update SQL

UPDATE gui_element SET e_more_styles = WHERE e_id = 'showCoords_div' AND e_more_styles LIKE 'background-color:white%';

have a look at: https://trac.osgeo.org/mapbender/browser/branches/2.7/resources/db/pgsql/UTF-8/update/update_2.7.1_to_2.7.2_pgsql_UTF-8.sql

Note: See TracTickets for help on using tickets.