24 Commits

Author SHA1 Message Date
Alex Shvartzkop
4d42d6b4fe Remove some hacks from template selector to fix sizing on Windows.
Related: https://gitlab.com/kicad/code/kicad/-/issues/19436
2025-01-01 12:28:24 +05:00
Wayne Stambaugh
151b1141f7 Increase minimum HTML panel height of the template selection dialog.
wxFormbuilder is not DPI aware so the previous height was a bit short on
high DPI displays.  The new height is a compromise which will be a bit tall
on standard DPI displays and a bit short on high DPI displays.
2024-12-31 17:27:26 -05:00
Wayne Stambaugh
bf414fede8 Fix template selector dialog on Windows. 2024-12-31 16:34:25 -05:00
Wayne Stambaugh
9ba1e92773 Fix template selector GTK scroll bar issue.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19436
2024-12-31 14:37:44 -05:00
jean-pierre charras
ac00edde48 DIALOG_TEMPLATE_SELECTOR: fix min size of dialog.
finishDialogSettings() must be called after build widgets.
Also always save the last pos/size after closing the dialog.

Fixes https://gitlab.com/kicad/code/kicad/-/issues/19270
2024-12-09 10:10:54 +01:00
jean-pierre charras
32f84da9a2 DIALOG_TEMPLATE_SELECTOR: minor cosmetic fixes.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/18736
2024-09-19 19:04:18 +02:00
Marek Roszko
4ac5404822 Move HTML_WINDOW to widgets folder, also fix some fbps that were wrongly not edited
Somebody manually edited at least 3 files fixed here....so the fbps were wrong
2023-09-11 19:10:16 -04:00
Wayne Stambaugh
f28ea5e784 Remove standard dialog button static line separators.
For the sake of consistency across all dialogs and window that behave
like dialogs, remove the static line that separates the main part of
the dialog from the standard buttons.  This only applies to windows
that have the standard button on the bottom of the frame.

This covers the 3D viewer, CvPcb, common, GerbView and KiCad dialogs.
2023-01-08 13:15:33 -05:00
Jeff Young
c0872364d4 Get rid of bloated bitmap buttons on wxWidgets 3.2. 2022-12-13 20:48:02 +00:00
Jeff Young
cc18c31cb5 Fix some layout issues in the Project Template Selector.
Fixes https://gitlab.com/kicad/code/kicad/issues/5222
2022-04-18 22:45:02 +01:00
Mikolaj Wielgus
5f53019290 Substitute all wxHtmlWindow with HTML_WINDOW
Remove other places where <body> tag is used to override the default
black-on-white theme.
2021-10-12 07:07:15 +00:00
jean-pierre charras
e508e08ecf Kicad manager: Fix some issues in DIALOG_TEMPLATE_SELECTOR. The fix is not perfect, but it works. Fixes #9329 https://gitlab.com/kicad/code/kicad/issues/9329 2021-10-08 13:15:11 +02:00
Jeff Young
665eeb65e9 Make layout of project template browser more flexible.
In particular, don't use a fixed height for the templates chooser,
and Wrap() must be called again whenever the text is changed.

Also moves the buttons to icon buttons.

Fixes https://gitlab.com/kicad/code/kicad/issues/9241
2021-09-26 18:40:18 +01:00
Jeff Young
b00d01dcc4 Don't infer two projects when we find both .kicad_pro and .pro.
Also makes the terminology around folder/directory consistent in
the error messages and dialogs.

Fixes https://gitlab.com/kicad/code/kicad/issues/8481
2021-06-08 14:52:23 +01:00
Simon Richter
270aaec443 Rewrite FBP files generated with unreleased wxFB
These use a few features that are too new, causing errors when trying to
edit with a released version of wxFormBuilder.
2020-01-07 13:32:33 +00:00
Seth Hillbrand
3514473a5a Project Templates: Allow multiple line titles
This fixes two display issues in the project template selector.  The
first captured HTML tags in the template title display and the second
prevented more than one line for showing (at least on GTK) in the
preview.  This prevented disambiguation between the various templates.

(cherry picked from commit 24b032ce5bf31b1d3d8d7de185c828ffa6b44647)
2019-07-23 16:15:04 -07:00
jean-pierre charras
aca1835610 Fix minor wxWidgets alerts. 2019-02-23 09:33:59 +01:00
Seth Hillbrand
3d76fcaa3b Standardize colons in kicad template dialog 2018-04-23 13:15:02 -07:00
unknown
baa5f0ddfb Fix typos in dialogs. 2016-04-21 09:32:29 +02:00
jean-pierre charras
3d17807fcc Fix Bug #1478709: http links in template description does not work.
Also add  PAD_SHAPE_<PADSHAPE> equiv to  PAD_<PADSHAPE> and PAD_ATTRIB_PAD_<PADATTRIB> equiv to  PAD_<PADATTRIB>
(<PADSHAPE> = ROUND, RECT...  and <PADATTRIB> =SMD, CONN ... )
2015-07-28 15:05:47 +02:00
Wayne Stambaugh
4664b094ae Make KiCad template selection dialog translatable. Thank you Marco. 2015-05-26 09:59:01 -04:00
jean-pierre charras
e74eccede3 Kicad manager: Allows the selection of templates paths, in template selector dialog. 2015-05-16 11:20:26 +02:00
jean-pierre charras
43afa81a8c Kicad template selector dialog: add info line showing the template path in use. 2013-05-29 14:03:03 +02:00
Brian Sidebotham
9823666ca9 Commit patch from Brian Sidebotham: Project template in Kicad manager 2012-10-14 18:57:11 +02:00