Commit Graph

8 Commits

Author SHA1 Message Date
Jeff Young 3fd81fe7c0 Only generate event on setting current value.
(And do it last.)
2024-01-04 14:35:08 +00:00
Jeff Young 559bef0ea6 Switch default thicknesses to um.
Also fix a bug where resetting the values doesn't work if
the thickness units were changed because it tries to keep
the old width values which are then re-scaled to the reset
thickness units.  Probably better to just reset the widths
too, as it's potentially less confusing.
2024-01-04 14:35:08 +00:00
jean-pierre charras 4d48376eae Fix some warnings detected by PVS-STUDIO (not used vars) 2022-07-26 16:00:14 +02:00
Mikolaj Wielgus 2fa9aefde2 Minor editorial changes in PCB calculator, part 1 2021-10-23 13:56:07 +00:00
Ian McInerney 708050aa55 pcb_calculator: Some code cleaning 2021-10-10 16:26:23 +01:00
jean-pierre charras 2662433374 Pcb calculator panels: ensure sizer are correctly updated.
On wxWidgets 3.0, SetSizeHints must be called once the panel is fully populated.
On wxWidgets 3.1.5, SetSizeHints is not mandatory but can be called to ensure
right sizes once the panel is fully populated.
2021-10-09 09:07:18 +02:00
Ian McInerney c14bdf7fe0 pcb_calculator: Update panel images/text when system theme changes 2021-10-08 17:31:21 +01:00
Ian McInerney 1f4955a632 Reorganize the pcb_calculator directory to make it more logical 2021-10-08 15:44:44 +01:00
Renamed from pcb_calculator/panel_track_width.cpp (Browse further)