Recent

Author Topic: [SOLVED] Resizing columns in the Object Inspector  (Read 1306 times)

TyneBridges

  • Full Member
  • ***
  • Posts: 150
    • Personal blog
[SOLVED] Resizing columns in the Object Inspector
« on: August 19, 2020, 03:29:54 pm »
I've found that making the Object Inspector wider only increases the second (value) column width. I'm trying to make the column with the property value name wider (it's only a quarter of the Object Inspector's width) because I can't read the value names. It doesn't seem to be possible to drag the divider to the right.

Any ideas? (Are the column widths saved in a config text file or registry value that can be edited manually?)

Thanks.
« Last Edit: August 19, 2020, 05:04:11 pm by TyneBridges »
John H, north east England
Lover of the old Delphi, still inexperienced with FPC/Lazarus and not an instinctive programmer

Blaazen

  • Hero Member
  • *****
  • Posts: 3241
  • POKE 54296,15
    • Eye-Candy Controls
Re: Resizing columns in the Object Inspector
« Reply #1 on: August 19, 2020, 03:48:52 pm »
Which widgetset? I can drag the divider perfectly to any position (Qt4).
Lazarus 2.3.0 (rev main-2_3-2863...) FPC 3.3.1 x86_64-linux-qt Chakra, Qt 4.8.7/5.13.2, Plasma 5.17.3
Lazarus 1.8.2 r57369 FPC 3.0.4 i386-win32-win32/win64 Wine 3.21

Try Eye-Candy Controls: https://sourceforge.net/projects/eccontrols/files/

lucamar

  • Hero Member
  • *****
  • Posts: 4217
Re: Resizing columns in the Object Inspector
« Reply #2 on: August 19, 2020, 03:53:56 pm »
It works a'right here too, Linux-gtk and Windows (XP/7/10). IIRC the settings are saved to environmentoptions.xml; look for ObjectInspectorOptions or somehitng like that.
Turbo Pascal 3 CP/M - Amstrad PCW 8256 (512 KB !!!) :P
Lazarus/FPC 2.0.8/3.0.4 & 2.0.12/3.2.0 - 32/64 bits on:
(K|L|X)Ubuntu 12..18, Windows XP, 7, 10 and various DOSes.

TyneBridges

  • Full Member
  • ***
  • Posts: 150
    • Personal blog
Re: Resizing columns in the Object Inspector
« Reply #3 on: August 19, 2020, 05:01:20 pm »
Thanks for the hints. I'm running Lazarus 2.0.10 on Windows 10 but sorry, I have no idea about the widget set.

I've found the xml file but can't see a setting for individual column widths in ObjectInspectorOptions. All I have is the following and entering SplitterX="300" in place of what's below didn't seem to do anything.

Code: XML  [Select][+][-]
  1.   <ObjectInspectorOptions ShowHints="False" InfoBoxHeight="50">
  2.     <Version Value="3"/>
  3.     <Bounds>
  4.       <PropertyPage SplitterX="165"/>
  5.     </Bounds>
  6.   </ObjectInspectorOptions>
  7.  
John H, north east England
Lover of the old Delphi, still inexperienced with FPC/Lazarus and not an instinctive programmer

TyneBridges

  • Full Member
  • ***
  • Posts: 150
    • Personal blog
Re: Resizing columns in the Object Inspector
« Reply #4 on: August 19, 2020, 05:03:30 pm »
I think I've found the source of the problem - an erratic mouse pointer when accessing the computer via VNC. On about my tenth attempt, the divider was "picked up" and I was able to move it. Thanks for your help.
John H, north east England
Lover of the old Delphi, still inexperienced with FPC/Lazarus and not an instinctive programmer

 

TinyPortal © 2005-2018