Iconeditor
Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard
Iconeditor
Hello,
Please extend the icon editor to 32 pixels in version 9.1.0 and allow transparency.
Please extend the icon editor to 32 pixels in version 9.1.0 and allow transparency.
Re: Iconeditor
Pushed!
When I select large buttons, I also want to have corresponding icons.
Up to version 8.xx this was also possible.
When I select large buttons, I also want to have corresponding icons.
Up to version 8.xx this was also possible.
Re: Iconeditor
TextPad 9's toolbar buttons are created from SVG images so we'll enable custom images to be imported from SVG files in the next release. These can be created using 3rd party tools such as Inkscape.
Re: Iconeditor
SVG images can now be used in TextPad 9.2.
Re: Iconeditor
And how?
If I use Preferences » View it is impossible to use an own icon.
If I use Preferences » View it is impossible to use an own icon.
- Attachments
-
- Capture_2023-04-02_0001.png (16.13 KiB) Viewed 4427 times
Re: Iconeditor
The installer should have created a file called CustomIcons.svg in folder %APPDATA%\Helios\TextPad\9. To workaround that, create the file yourself containing these lines:
Will look into the reason this was not created automatically.
Code: Select all
<?xml version="1.0" encoding="utf-8"?><svg width="32" height="32">
<svg id="blank" width="32" height="32" version="1.1" viewBox="0 0 32 32" x="0" y="0" xmlns="http://www.w3.org/2000/svg">
<rect width="32" height="32" style="stroke:black;fill:none" />
</svg></svg>
Re: Iconeditor
OK, a second install and the file will be created.
Now it is possible to import a svg-file but is nothing to see. The imported svg-file shows an arrow but it is white (see attachment).
In the explorer-preview appears "Some items have been blocked so that the sender cannot identify your computer."
Now it is possible to import a svg-file but is nothing to see. The imported svg-file shows an arrow but it is white (see attachment).
In the explorer-preview appears "Some items have been blocked so that the sender cannot identify your computer."
- Attachments
-
- Capture_2023-04-03_0001.png (15.72 KiB) Viewed 4410 times
Re: Iconeditor
I don't understand the "sender cannot identify your computer" issue.
Here's a SVG you can try. It draws a red down arrow.
Here's a SVG you can try. It draws a red down arrow.
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<svg width="32" height="32" version="1.1" viewBox="0 0 32 32" xmlns="http://www.w3.org/2000/svg">
<polygon transform="matrix(1.6 0 0 1.6 .026 0)"
points="11 0 9 0 9 16.172 2.929 10.101 1.515 11.515 10 20 10.707 19.293 18.485 11.515 17.071 10.101 11 16.172" fill="#ff0000"/>
</svg>
Re: Iconeditor
Good, the example works. But a *.png which was "converted" with Inkscape into a *.svg does not work.
In my opinion it was not a good decision to use *.svg. After all I have read about it, there is hardly a format that is less regulated than for example *.png.
Please show me how to convert the attachment into a textpad compliant icon.
In my opinion it was not a good decision to use *.svg. After all I have read about it, there is hardly a format that is less regulated than for example *.png.
Please show me how to convert the attachment into a textpad compliant icon.
- Attachments
-
- Autoit_hilfe.png (2.73 KiB) Viewed 4387 times
Re: Iconeditor
It doesn't really make sense to convert a raster image to SVG, even if it's possible. All Inkscape does is to embed the PNG data with a special tag which TextPad does not recognise. It supports 16x16 bitmaps for backwards compatibility, but now uses SVG so that the icons scale well for high resolution displays. I'll forward an enhancement request for handling embedded PNG data.