-
-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ColorPicker popups for foreground/background color close when trying to edit color value hex number #267
Comments
there is a known issue with the FireMonkey UI library popups that causes it. They don't accept focus. Has been reported to the company that makes Delphi (Embarcadero). A workaround I had done in the past with the StoryItemOptions popup (when it contained the UrlAction as an editbox) is to open an input prompt dialog when the item is clicked and have code that updates its value if OK is pressed on the input dialog. I will look into doing that |
A workaround is to copy the item you want to take color from to clipboard, paste to notepad and copy the color value (if you don't know which value you want already) |
there is a colorconverter here: https://www.w3schools.com/colors/colors_converter.asp note that Delphi uses "x" prefix for Hex, not "#" or "0x" that you may see in other languages like Javascript or C/C++ |
there are also some colorpickers as apps (should be able to find on Windows Store for example I guess) and as browser extensions (e.g. for Chrome and for Firefox: https://www.colorzilla.com/) |
You can also do gradients if you set the Image (from its Options with the Load button) for a StoryItem to be a 1-pixel width or height image strip with the other dimension being say of N pixels (whatever the size you plan to make your StoryItem) or less/more. Since the image is stretched it will become a gradient (either horizontal or vertical gradient depending on which dimension of the background image was only 1-pixel long) |
Could also possibly add CTRL+C (copy color value) and CTRL+V (paste color value) actions to the ColorPicker (or if it already has such make sure the app doesn't grab them while the color picker popup is shown. Combined with a tooltip that suggests their use (shown when mouse is over the color value editbox) might help. |
Version: 0.7.1
More advanced users may want to enter a color value directly or copy a value from one ColorPicker popup to another. However currently when the color picker's color value editbox takes focus it closes the color picker popup.
(Reported by @jasa611)
The text was updated successfully, but these errors were encountered: