Re: [Lazarus] IDE Spotter- issues

2018-09-25 Thread Michael Van Canneyt via Lazarus
On Tue, 25 Sep 2018, FTurtle via Lazarus wrote: The single click was chosen because this is how it works in Atom. Where are all these options or rules described ? Because the IDE Tools - Options page does not contain such a setting. Or at least, I didn't find it. Don't forget about

Re: [Lazarus] IDE Spotter- issues

2018-09-25 Thread FTurtle via Lazarus
>Read wiki: >http://wiki.lazarus.freepascal.org/GUI_design_guidelines#Spacings_and_sizes > >"Spacing between elements: 6 pixels." > More suitable quote from wiki: http://wiki.lazarus.freepascal.org/GUI_design_guidelines#BorderSpacing   "A typical borderspacing of 6 pixels around a component is

Re: [Lazarus] IDE Spotter- issues

2018-09-25 Thread FTurtle via Lazarus
>> 1. Standard for margins around controls in Lazarus is 6 pixels. Now is >> lesser. This is very noticeable visually. > >Really ? You must have 100/10 vision. I don't see any difference. > >But I can say with certainty the IDE is not consistent in this regard, e.g. >the project inspector uses

Re: [Lazarus] IDE Spotter- issues

2018-09-25 Thread Michael Van Canneyt via Lazarus
On Tue, 25 Sep 2018, FTurtle via Lazarus wrote: I committed a new version with some visual improvements and bugfixes: * Actually load saved options on startup :) * Button to go to settings * Margins around controls * Better Left and right margin inside listbox * Use different default

Re: [Lazarus] IDE Spotter- issues

2018-09-25 Thread FTurtle via Lazarus
>I committed a new version with some visual improvements and bugfixes: > >* Actually load saved options on startup :) >* Button to go to settings >* Margins around controls >* Better Left and right margin inside listbox >* Use different default colors (maroon, navy) >* Handle keydown instead of

Re: [Lazarus] IDE Spotter- issues

2018-09-25 Thread Michael Van Canneyt via Lazarus
On Tue, 25 Sep 2018, Howard Page-Clark via Lazarus wrote: On 25/09/18 09:07, Michael Van Canneyt via Lazarus wrote: On Mon, 24 Sep 2018, AlexeyT wrote: How do I know if the scrollbar is visible ? TListbox.ClientWidth gives width considering scrollbar. I committed a new version

Re: [Lazarus] IDE Spotter- issues

2018-09-25 Thread Howard Page-Clark via Lazarus
On 25/09/18 09:07, Michael Van Canneyt via Lazarus wrote: On Mon, 24 Sep 2018, AlexeyT wrote: How do I know if the scrollbar is visible ? TListbox.ClientWidth gives width considering scrollbar. I committed a new version with some visual improvements and bugfixes: * Actually load

Re: [Lazarus] IDE Spotter- issues

2018-09-25 Thread Michael Van Canneyt via Lazarus
On Mon, 24 Sep 2018, AlexeyT wrote: How do I know if the scrollbar is visible ? TListbox.ClientWidth gives width considering scrollbar. I committed a new version with some visual improvements and bugfixes: * Actually load saved options on startup :) * Button to go to settings *

Re: [Lazarus] IDE Spotter- issues

2018-09-24 Thread Vojtěch Čihák via Lazarus
xeyT" Datum: 24.09.2018 15:26 Předmět: Re: [Lazarus] IDE Spotter- issues On Mon, 24 Sep 2018, AlexeyT wrote: >> 3- input (edit) is not autosized, so height is small on Ubuntu. >> >> So ? > > better set AutoSize=true, so height will be native. (1.3x bigger.

Re: [Lazarus] IDE Spotter- issues

2018-09-24 Thread Michael Van Canneyt via Lazarus
On Mon, 24 Sep 2018, AlexeyT wrote: How do I know if the scrollbar is visible ? TListbox.ClientWidth gives width considering scrollbar. OK, thank you. But should not the Rect in the ListBox OnDrawItem already take this into account ? Michael. --

Re: [Lazarus] IDE Spotter- issues

2018-09-24 Thread Michael Van Canneyt via Lazarus
On Mon, 24 Sep 2018, AlexeyT via Lazarus wrote: 3- better add inner (inside listbox) left indent of text: 3-4pix. Will do. 4- right indent is too big (15-20pix even with scrollbar), use same 3-4pix as left (considering scrollbar) Currently, the scroll bar width as reported is always

Re: [Lazarus] IDE Spotter- issues

2018-09-24 Thread Michael Van Canneyt via Lazarus
On Mon, 24 Sep 2018, AlexeyT via Lazarus wrote: 1- better use default color purple (or dark blue, Navy) instead of red. Good point. Will change. 2- w/o opened source editor, spotter don't called by hotkey. instead Project mainmenu pops up. Seems like a bug in the shortcut key handling

Re: [Lazarus] IDE Spotter- issues

2018-09-24 Thread Michael Van Canneyt via Lazarus
On Mon, 24 Sep 2018, AlexeyT wrote: 3- input (edit) is not autosized, so height is small on Ubuntu. So ? better set AutoSize=true, so height will be native. (1.3x bigger.) Done. Originally there were some resizing problems. At some point I indeed disabled AutoSize, because the effect

Re: [Lazarus] IDE Spotter- issues

2018-09-24 Thread Michael Van Canneyt via Lazarus
On Mon, 24 Sep 2018, AlexeyT via Lazarus wrote: 5- on opening window, list is empty. i type "d", backspace, now list is _not empty? I will change this. Michael. -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org

Re: [Lazarus] IDE Spotter- issues

2018-09-24 Thread Michael Van Canneyt via Lazarus
On Mon, 24 Sep 2018, AlexeyT via Lazarus wrote: 3- input (edit) is not autosized, so height is small on Ubuntu. So ? 4- if window is narrow: hotkey overlaps caption. better do: caption overlaps hotkey. I disagree. I specially chose it like this. Michael. --

Re: [Lazarus] IDE Spotter- issues

2018-09-24 Thread AlexeyT via Lazarus
5- on opening window, list is empty. i type "d", backspace, now list is _not empty? Alex -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus