diffpy / diffpy.pdfgui

graphical user interface for real space structure refinement to PDF
Other
18 stars 27 forks source link

MAINT: fix background color of parameter boxes #51

Closed dragonyanglong closed 3 years ago

dragonyanglong commented 3 years ago

In py3 wxpython, background color is not white even if no constrains applied.

This PR closes #45

dragonyanglong commented 3 years ago

In old py2 wxpython, txtbg is (255, 255, 255, 255). But in py3 wxpython, it is (-1, -1, -1, 255)

codecov[bot] commented 3 years ago

Codecov Report

Merging #51 (0a09b56) into next (a9de126) will not change coverage. The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##             next      #51   +/-   ##
=======================================
  Coverage   57.56%   57.56%           
=======================================
  Files          95       95           
  Lines       10985    10985           
=======================================
  Hits         6324     6324           
  Misses       4661     4661           
Impacted Files Coverage Δ
src/diffpy/pdfgui/gui/phaseconfigurepanel.py 53.84% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update a9de126...0a09b56. Read the comment docs.