← Back to team overview

kicad-developers team mailing list archive

Layer Widget modifications

 

I am doing some modifications to the layer widget and was wanting some
comments. Part of this is making it so that if you LEFT click on the colour
button you get the colour selection dialog. Currently i believe this is
very broken as you should not have a wxButton that does not behave as
expected with a left click.

There is plenty of real-estate on the row to click to make the row the
current layer

http://postimg.org/image/az7os23x9/

In that screenshot the left is the current layer_widget screenshot and on
the right is my currently modified one. This is currently broken on other
operating systems due to being fixed height bitmap buttons but that is the
next thing i will be working on as it will require some changes to how
things are done.

Currently the code is set so that if the vertical resolution of the display
is <= 900px then the text has a transformer done pointSize*8/10 as can be
seen in the left hand version of the widget, however due to the icons in
the right hand toolbar it seems unnecessary to bother with that when the
window has to be fairly tall due to the icons anyway and the layer widget
will be in a scrolled window

If anyone has any comments/critiques about how it looks/order please let me
know, I am also considering making the rendering window look the aka the
same spacing of the items as even though the icon is not in the rendering
tab it still looks cleaner if similar components don't move horizontally
between tabs in a notebook

Follow ups