diff --git a/theme/bundled-icons.go b/theme/bundled-icons.go index bc8de972a9..e5b6d6570e 100644 --- a/theme/bundled-icons.go +++ b/theme/bundled-icons.go @@ -17,7 +17,7 @@ var cancelIconRes = &fyne.StaticResource{ var checkIconRes = &fyne.StaticResource{ StaticName: "check.svg", - StaticContent: []byte("\n \n\n"), + StaticContent: []byte("\n \n\n"), } var deleteIconRes = &fyne.StaticResource{ @@ -47,7 +47,7 @@ var menuexpandIconRes = &fyne.StaticResource{ var checkboxIconRes = &fyne.StaticResource{ StaticName: "check-box.svg", - StaticContent: []byte("\n\n \n \n \n image/svg+xml\n \n \n \n \n \n \n \n \n \n\n"), + StaticContent: []byte("\n\n \n\n"), } var checkboxblankIconRes = &fyne.StaticResource{ @@ -57,12 +57,12 @@ var checkboxblankIconRes = &fyne.StaticResource{ var radiobuttonIconRes = &fyne.StaticResource{ StaticName: "radio-button.svg", - StaticContent: []byte("\n\n \n \n \n image/svg+xml\n \n \n \n \n \n \n \n \n \n\n"), + StaticContent: []byte("\n\n \n\n"), } var radiobuttoncheckedIconRes = &fyne.StaticResource{ StaticName: "radio-button-checked.svg", - StaticContent: []byte("\n\n \n \n \n image/svg+xml\n \n \n \n \n \n \n \n \n \n\n"), + StaticContent: []byte("\n\n \n\n"), } var contentaddIconRes = &fyne.StaticResource{ diff --git a/theme/gen.go b/theme/gen.go index 0f8f155287..b843b73918 100644 --- a/theme/gen.go +++ b/theme/gen.go @@ -88,7 +88,7 @@ func main() { bundleIcon("menu-expand", f) bundleIcon("check-box", f) - bundleIcon("check-box-blank", f) + bundleIcon("check-box-checked", f) bundleIcon("radio-button", f) bundleIcon("radio-button-checked", f) diff --git a/theme/icons.go b/theme/icons.go index 4b272e489f..2985f43515 100644 --- a/theme/icons.go +++ b/theme/icons.go @@ -467,8 +467,8 @@ var ( IconNameMenu: NewThemedResource(menuIconRes), IconNameMenuExpand: NewThemedResource(menuexpandIconRes), - IconNameCheckButton: NewThemedResource(checkboxblankIconRes), - IconNameCheckButtonChecked: NewThemedResource(checkboxIconRes), + IconNameCheckButton: NewThemedResource(checkboxIconRes), + IconNameCheckButtonChecked: NewThemedResource(checkboxcheckedIconRes), IconNameRadioButton: NewThemedResource(radiobuttonIconRes), IconNameRadioButtonChecked: NewThemedResource(radiobuttoncheckedIconRes), diff --git a/theme/icons/check-box-blank.svg b/theme/icons/check-box-blank.svg deleted file mode 100644 index e102f477ef..0000000000 --- a/theme/icons/check-box-blank.svg +++ /dev/null @@ -1,58 +0,0 @@ - - - - - - image/svg+xml - - - - - - - - - - diff --git a/theme/icons/check-box-checked.svg b/theme/icons/check-box-checked.svg new file mode 100644 index 0000000000..3917b1fc44 --- /dev/null +++ b/theme/icons/check-box-checked.svg @@ -0,0 +1,9 @@ + + + + diff --git a/theme/icons/check-box.svg b/theme/icons/check-box.svg index ce6a56b5af..2997acd961 100644 --- a/theme/icons/check-box.svg +++ b/theme/icons/check-box.svg @@ -1,58 +1,9 @@ - - - - image/svg+xml - - - - - - - - + viewBox="0 0 24 24"> + d="M 20,4 V 20 H 4 V 4 H 20 M 19.914286,3 H 4.0857143 C 2.9857143,3 3,2.9857143 3,4.0857143 V 19.914286 C 3,21.014286 2.9857143,21 4.0857143,21 H 19.914286 C 21.014286,21 21,21.014286 21,19.914286 V 4.0857143 C 21,2.9857143 21.014286,3 19.914286,3 Z" /> diff --git a/theme/icons/check.svg b/theme/icons/check.svg index a289558f4d..b09aeb73ba 100644 --- a/theme/icons/check.svg +++ b/theme/icons/check.svg @@ -1,4 +1,4 @@ - diff --git a/theme/icons/radio-button-checked.svg b/theme/icons/radio-button-checked.svg index 1fbe01c629..d3344f810b 100644 --- a/theme/icons/radio-button-checked.svg +++ b/theme/icons/radio-button-checked.svg @@ -1,59 +1,9 @@ - - - - image/svg+xml - - - - - - - - + viewBox="0 0 24 24"> + d="m 12,5 c -4,0 -7,3 -7,7 1e-7,4 3,7 7,7 4.000133,0 7,-3 7,-7 C 19,8 16.000133,5.0000001 12,5 Z M 12,2 C 6.48,2 2,6.48 2,12 2,17.52 6.48,22 12,22 17.52,22 22,17.52 22,12 22,6.48 17.52,2 12,2 Z m 0,19.012245 C 6.9998134,21.02449 3,17 2.9709368,12.01188 2.9417352,7.0000008 7,3 12,2.9877551 17,2.9755102 21.02449,7 21.012245,12 21,17 17,21 12,21.012245 Z" /> diff --git a/theme/icons/radio-button.svg b/theme/icons/radio-button.svg index 856db38832..1d4e9fdaf7 100644 --- a/theme/icons/radio-button.svg +++ b/theme/icons/radio-button.svg @@ -1,58 +1,9 @@ - - - - image/svg+xml - - - - - - - - + viewBox="0 0 24 24"> + d="M 12,2 C 6.48,2 2,6.48 2,12 2,17.52 6.48,22 12,22 17.52,22 22,17.52 22,12 22,6.48 17.52,2 12,2 Z m 0.0097,19.024071 C 6.9997372,21.048238 3,17 2.992626,12.037976 2.985139,7.0000002 6.9673493,2.9584714 12.036063,2.9795211 16.967347,3 21.069769,7.0000004 21.034853,12.004484 21,17 17,21 12.009738,21.024071 Z" />