Jeff Young
8dddd9cc2c
Separate "use board stackup colors" into separate checkbox.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17085
2 years ago
Alex Shvartzkop
1decd31baf
Vertically center wxGrid cells by default.
2 years ago
Wayne Stambaugh
c3ded7a03d
Remove board editor standard dialog button static line separators.
3 years ago
Jeff Young
f24372bc18
Layout adjustments for wxWidgets 3.2.
3 years ago
Jeff Young
4e47b5c25f
Fix some layout and selection issues on Mac.
Some of these are due to moving to wxWidgets 3.2, but I'm not sure
all of them are. In particular, the need for CallAfter() in the
search pane's selection handler is probably just a wxWidgets bug on
Mac (the control lies about the current selection inside the event
handler).
Also sets better column widths in the search pane.
3 years ago
Jeff Young
f6c441c434
Viewport switcher keys are platform-specific.
Also fixes a regression where ctrl-tab doesn't get recognized.
Fixes https://gitlab.com/kicad/code/kicad/issues/11778
Fixes https://gitlab.com/kicad/code/kicad/issues/10127
3 years ago
Jeff Young
ef17ee3384
Tooltips for layer & viewer presets.
Fixes https://gitlab.com/kicad/code/kicad/issues/11778
3 years ago
Jeff Young
6c05e5d1a8
Implement user viewports.
ADDED popup to Appearances palette where users can define viewports
for later selection.
Fixes https://gitlab.com/kicad/code/kicad/issues/2271
4 years ago
Jeff Young
66d9e7073f
More discrete borders for Kicad mgr, PCM and appearances panels.
Fixes https://gitlab.com/kicad/code/kicad/issues/9616
4 years ago
Jeff Young
ffd6fde700
Improve consistency and hotkey access in Appearances.
Added hotkey for cycling through net & netclass color modes.
Added hotkey for cycling through ratsnest layer visibilities.
Added code to display hotkey (if set) on the above and on high-contrast
cycle.
Fixes https://gitlab.com/kicad/code/kicad/issues/9312
4 years ago
Jeff Young
9c78e4cf54
Mac needs different font size handling than MSW & GTK.
Mac already uses diverse font sizes (for instance, smaller fonts for
radio button groups), and the anti-aliasing is a lot better. The
other platforms need a more limited range of sizes.
Fixes https://gitlab.com/kicad/code/kicad/issues/8608
4 years ago
Jon Evans
c8be87a654
Add i18n flag to appearance controls and selection filter
5 years ago
Konstantin Baranovskiy
7c2b66fc2a
pcbnew: make pane labels translatable
5 years ago
Ian McInerney
65bd1ee9a4
Add a new BITMAP_BUTTON widget and use it in the appearances panel
This button behaves like an AUI button, so it is more suited
to being on panels without a border.
5 years ago
Jon Evans
758a4c26d5
Switch appearance panel to custom collapsible pane widget
The new widget looks the same on all platforms and fixes a few
bugs with the wxWidgets version
5 years ago
Jeff Young
08dee31d9e
Try and unify the background colors between panels and platforms.
Also moves to WX_GRID to get rid of some wxGrid bugs, and moves the
provision of attrs to the GRID_TABLE (as those applied to the grid
are ignored when a table is specified).
Fixes https://gitlab.com/kicad/code/kicad/issues/5260
5 years ago
Jeff Young
800d8acb00
Reinstate collapsable controls in Appearances widget.
Also tries to fix highlighting on BOTH OSX and GTK (previuos efforts
have all worked only on one or the other).
5 years ago
Jeff Young
a728abe63c
Simplify appearances controls presentation.
Fixes some OSX bugs in panel background colouring.
Also adds a bit info to control titles.
Fixes https://gitlab.com/kicad/code/kicad/issues/5260
5 years ago
Jon Evans
2198f8666c
Fix typo in preset switcher
5 years ago
Jeff Young
5be39c6299
Remove horizontal scrollbars from nets in appearances panel.
They're not really appropriate for a panel and the grid one (at
least) perturbs a bug in wxWidgets scroll space calculation).
Fixes https://gitlab.com/kicad/code/kicad/issues/5239
5 years ago
Jon Evans
1efd512847
Remove unnecessary event handler binding
Fixes https://gitlab.com/kicad/code/kicad/-/issues/5341
5 years ago
Jeff Young
fba6152709
Force wxWidgets to set widths smaller than BestWidth().
5 years ago
Jon Evans
6720473db9
Move net visibility/color controls to a wxGrid
Fixes https://gitlab.com/kicad/code/kicad/-/issues/5235
Might improve https://gitlab.com/kicad/code/kicad/-/issues/5210
5 years ago
jean-pierre charras
e5198e7404
Fix minor wxWidgets alerts.
5 years ago
Jeff Young
4b7c883095
Add layer presets switcher.
Fixes https://gitlab.com/kicad/code/kicad/issues/5247
5 years ago
Jon Evans
4cd13c3867
Fix focus handling on appearance panel
wxScrolledWindow doesn't like to give up its focus events,
use wxScrolledCanvas instead.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/5251
5 years ago
Jeff Young
fd53df6f10
Collapse space out of the presets area.
Hopefully this will save us from conditional compilation as the
OSX spacing here is wildly different from GTK.
5 years ago
Jeff Young
1134d99bb7
Repair some more merge conflicts.
5 years ago
Jeff Young
15edac4738
Implement a more flexible layout for the objects tab of appearances.
5 years ago
Jon Evans
1f5a3c57a0
Fix net color radio buttons
5 years ago
Jeff Young
198d9a4243
Fix merge conflicts.
5 years ago
Jeff Young
e5f2015a9c
More spacing adjustments for appearance manager.
5 years ago
Jeff Young
5938528a16
Move to conditional compilation for appearance palette spacing.
5 years ago
Jon Evans
103443f496
Back out some spacing changes for MacOS
These were too aggressive on other platforms
5 years ago
Jeff Young
f83a9c0a22
Clean up some OSX issues in new appearance panel.
5 years ago
Jon Evans
bd14f8a82a
ADDED: New appearance control widget for PcbNew
Featuring:
- Layer view presets
- Per-type opacity for tracks, vias, pads, zones
- Net and netclass color and visibility controls
CHANGED: Simplified object visibilty controls
Fixes https://gitlab.com/kicad/code/kicad/-/issues/1951
Fixes https://gitlab.com/kicad/code/kicad/-/issues/1981
Fixes https://gitlab.com/kicad/code/kicad/-/issues/2003
Fixes https://gitlab.com/kicad/code/kicad/-/issues/2173
Fixes https://gitlab.com/kicad/code/kicad/-/issues/2254
Fixes https://gitlab.com/kicad/code/kicad/-/issues/4325
5 years ago