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
Configurable setting to make objects display no fill color #3312
Comments
In my case, I usually like the fills, as I often have objects that are partially overlapped by tile layers above them, so the outlines may be obscured. However, I do have some objects for which I'd rather not have fills:
For me, a fill toggle per Object Type or per Layer would be ideal. However, I could probably make do with just a global toggle and no fills anywhere. |
I wonder what a good first pass at this would be. Just the global setting, with a toggle under the View menu? Which class controls drawing the fill? Maybe i could make an attempt |
@dogboydog Currently all objects are rendered in the QColor brushColor = color;
brushColor.setAlpha(50);
const QBrush fillBrush(brushColor); The easiest for now would be to keep the rendering there, but to pass in the As for where to store this setting, as per @eishiya comment I could imagine to add a bool option to the |
Is your feature request related to a problem? Please describe.
When I draw objects with the rectangle/polygon tool etc. they are filled with a translucent version of the object's color. I would rather be able to disable this fill.
Describe the solution you'd like
For me something like View > Show Object Fill as a boolean toggle would alleviate this issue, as I don't really want to see the fill for any objects.
Describe alternatives you've considered
Toggling the fill could also be done on a per-object, per-object-layer, or per-object-type basis rather than a global toggle. Those solutions could also co-exist with the global setting, as disabling the global setting would disable all fill display, but if you have fill turned on globally, only objects that had fill enabled would have a fill color.
Another workaround mentioned was to set the opacity of the layer to less than 1 to lessen the effect of the fill.
The text was updated successfully, but these errors were encountered: