Page 1 of 1

Layer toolbar

Posted: Wed Mar 17, 2021 2:30 pm
by cqman
It is possible to extend "Layer" toolbar (currently: Color, Lineweight, Linetype) with the possibility of changing the current layer,
i.e. "Layer, Color, Lineweight, Linetype"?

Re: Layer toolbar

Posted: Wed Mar 17, 2021 3:01 pm
by andrew
You are likely referring to the "Pen" toolbar. Note that this should be used sparingly as attributes should always be defined by layer.

No, the pen toolbar cannot be used to change the current layer. You can use the layer list for this instead:
View > Layer List

Re: Layer toolbar

Posted: Thu Mar 18, 2021 2:39 pm
by cqman
Is there any possibility to have the current layer name permanently displayed - without switching widgets (layer list, property editor, block list, library browser etc)?

Re: Layer toolbar

Posted: Thu Mar 18, 2021 4:12 pm
by petevick
un-dock the Layer widget and dock it on it's own.

Re: Layer toolbar

Posted: Fri Mar 19, 2021 4:24 pm
by cqman
Yes, it occurred to me too.
However, with a large number of layers, the panel / widget takes up a lot of space - not suitable for small monitors.
All you need is the name of the current layer ...

Re: Layer toolbar

Posted: Fri Mar 19, 2021 4:29 pm
by petevick
maybe possible with a script ?

Re: Layer toolbar

Posted: Wed Mar 24, 2021 1:32 pm
by cqman
OK, so I formulate the proposal / question in a different way:
Is it possible to add "Pen" ToolBar to the display of the current level?
The point is that, in addition to the color, the thickness of the line and the type of line,
knowledge of the current layer into which it is drawn is an essential requirement.
In addition, PTB is displayed continuously and takes up little space, unlike the "LayerList" widget.
Please reflect on this issue.
Thanks for your helpful work.

Re: Layer toolbar

Posted: Wed Mar 24, 2021 3:19 pm
by CVH
Hi,
I did reflect on this ...
Yes, and No :wink:
The main difference is that setting a pen option is not an operation.
It is setting the preferences to be used for any next operation that creates a new entity.

Setting the current layer, is itself an actual change to the document. An operation.
I am actually also looking for something similar:
HowTo .setCurrentLayer() without an extra undo/redo step?
https://qcad.org/rsforum/viewtopic.php?f=30&t=8287

On a normal screen the lists are docked.
Maybe docking them together is an option for you?


Thinking out loud:
But your request is still valid for small screens I suppose ... :wink:
A layer drop-box that does the same as actually changing to a layer.
Optionally ... even, optionally when the Layer List isn't visible. :P

You may want to add a feature request at:
https://www.ribbonsoft.com/bugtracker

Regards,
CVH

Re: Layer toolbar

Posted: Wed Mar 24, 2021 3:41 pm
by CVH
But regarding:
https://qcad.org/rsforum/viewtopic.php? ... 404#p19405

The panel width should be saved on any change.

Not that you may find this setting to fiddle with it in the ini/conf.
The line that changes is: DockappWindows :wink:

Fiddling ... :roll:
Try resetting your configuration.
Width = saved without any question!

Regards,
CVH