Component palette multilned as "Old Delphi" lazarus / 11-Options ---------------------------------------------------------------------- rnervi · 2020-11-29 13:21 I've missed this feature. Didnt' found an option in the ide cfg to check. So I've made these small edit to have it "multiline": open this file  lazarus\ide\mainbar.pas find these lines Code: Pascal  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i // Component paletteComponentPageControl := TPageControl.Create(TheOwner);ComponentPageControl.Name := 'ComponentPageControl';ComponentPageControl.Align := alClient;ComponentPageControl.Visible := EnvironmentOptions.Desktop.Co mponentPaletteOptions.Visible;ComponentPageControl.Parent := Self; Add this: Code: Pascal  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i ComponentPageControl.Multiline := True;  // edited by rnervi Rebuild ide environment. (hope in next versions a structural implement of this)( ---------------------------------------------------------------------- winni · 2020-11-29 13:34 Hi! The other way is NOT to use the component palette but MainMenu --> View --> Components Alt+Strg+P    by default There you can also search if you are on the hunt for an "exotic" component Winni ---------------------------------------------------------------------- lucamar · 2020-11-29 13:54 Quote from: rnervi on November 29, 2020, 02:21:43 pmI've missed this feature. Didnt' found an option in the ide cfg to check. It's there, though not where you'd expect. Select Tools->Options" and, in the dialog, under "Environment", "Window". The option is called "Show complete component palette", and it's rather badly placed off to the right. It can also be accessed by right-clicking the palette and selecting "Options"; that opens the same dialog but with only the "Environment" branch showing. HTH ---------------------------------------------------------------------- wp · 2020-11-29 15:34 Quote from: rnervi on November 29, 2020, 02:21:43 pmAdd this [...] If it's really that easy you should write a bug report (see the bugtracker link in the left forum sidebar) and propose this idea to the devs as a feature request. Probably it will work only on Windows because multiline tabs are not supported by many other widgetsets, but multiline tabs have been implemented for the editor as well. ---------------------------------------------------------------------- lucamar · 2020-11-29 15:56 Let me repeat: It's already there. Only not where you'd expect it A possible feature request might be to add it as an item in the main window popup. ---------------------------------------------------------------------- wp · 2020-11-29 16:40 Checking or unchecking the "Show complete component palette" does not change anything for me (Win 10). ---------------------------------------------------------------------- lucamar · 2020-11-29 16:54 Quote from: wp on November 29, 2020, 05:40:52 pmChecking or unchecking the "Show complete component palette" does not change anything for me (Win 10). Neither does for me (Xubuntu 18.04), but IIRC it worked on Windows XP. As all this kind of things it might or might not work, depending on OS, theme, etc. Hmmm ... or might be there is a bug when parsing options? It could be worth checking the sources if you want it ... ---------------------------------------------------------------------- winni · 2020-11-29 20:21 Quote from: wp on November 29, 2020, 05:40:52 pmChecking or unchecking the "Show complete component palette" does not change anything for me (Win 10). Hi! a) Lin64 Laz 2.0.10 GTK2  : Does not work b) Win7 64   Laz 2.0.0 : Does not work Winni ---------------------------------------------------------------------- lucamar · 2020-11-29 20:36 For Linux-gtk2 it's normal: TPageControl.Multiline isn't supported by the widgeset. ---------------------------------------------------------------------- Martin_fr · 2020-11-29 20:42 Quote from: lucamar on November 29, 2020, 02:54:05 pmQuote from: rnervi on November 29, 2020, 02:21:43 pmI've missed this feature. Didnt' found an option in the ide cfg to check. It's there, though not where you'd expect. Select Tools->Options" and, in the dialog, under "Environment", "Window". The option is called "Show complete component palette", and it's rather badly placed off to the right. That is a different feature though. The OT afaik talks about the tabs of the page control. And having the tabs shown multiline. The existing features relates to the icons on each page of the pagecontrol. If there are like 50 components on one single tab, then the component- icons are shown multiline (always). Normally that triggers are vertical scrollbar. But with that option, the main IDE bar extends it height, so that several rows of icons become visible at the same time. ---------------------------------------------------------------------- lucamar · 2020-11-29 20:48 Quote from: Martin_fr on November 29, 2020, 09:42:13 pmThe existing features relates to the icons on each page of the pagecontrol. If there are like 50 components on one single tab, then the component- icons are shown multiline (always). Normally that triggers are vertical scrollbar. But with that option, the main IDE bar extends it height, so that several rows of icons become visible at the same time. Oops! Sorry, then; I was completely wrong Never go to bed without learning something new, as they say. Thanks, Martin. ---------------------------------------------------------------------- tetrastes · 2020-11-29 20:51 Quote from: winni on November 29, 2020, 09:21:49 pmQuote from: wp on November 29, 2020, 05:40:52 pmChecking or unchecking the "Show complete component palette" does not change anything for me (Win 10). Hi! a) Lin64 Laz 2.0.10 GTK2  : Does not work b) Win7 64   Laz 2.0.0 : Does not work Winni Linux 64 Lazarus 2.1.0 GTK2 - works ---------------------------------------------------------------------- lucamar · 2020-11-29 21:21 Quote from: tetrastes on November 29, 2020, 09:51:03 pmLinux 64 Lazarus 2.1.0 GTK2 - works Yes, but as Martin said, it's not quite what we were testing for ---------------------------------------------------------------------- tetrastes · 2020-11-29 21:35 Quote from: lucamar on November 29, 2020, 10:21:43 pmQuote from: tetrastes on November 29, 2020, 09:51:03 pmLinux 64 Lazarus 2.1.0 GTK2 - works Yes, but as Martin said, it's not quite what we were testing for I just wanted to show that checking or unchecking the "Show complete component palette" does change something ---------------------------------------------------------------------- winni · 2020-11-29 22:01 Quote from: tetrastes on November 29, 2020, 10:35:01 pm I just wanted to show that checking or unchecking the "Show complete component palette" does change something  Yes - it changes the tickmarks in the checkboxes. What a miracle! ---------------------------------------------------------------------- lucamar · 2020-11-29 22:18 Quote from: winni on November 29, 2020, 11:01:04 pmQuote from: tetrastes on November 29, 2020, 10:35:01 pmI just wanted to show that checking or unchecking the "Show complete component palette" does change something  Yes - it changes the tickmarks in the checkboxes. What a miracle! No, it does what Martin said.  You  have only to resize the window to see it. At least in this Xubuntu 18.04 machine, with Laz/FPC 2.0.10/3.2.0. Check it with the "SynEdit" tab; it's more components than any other ---------------------------------------------------------------------- rnervi · 2020-11-30 05:35 I meant this way to see "component palette" (c pic) w/o this fix the component palette goes right out of monitor ---------------------------------------------------------------------- tetrastes · 2020-11-30 07:13 Quote from: winni on November 29, 2020, 11:01:04 pmQuote from: tetrastes on November 29, 2020, 10:35:01 pm I just wanted to show that checking or unchecking the "Show complete component palette" does change something  Yes - it changes the tickmarks in the checkboxes. What a miracle! You are too lazy to enlarge pictures, aren't you?