Skip to content

GitLab

    • GitLab: the DevOps platform
    • Explore GitLab
    • Install GitLab
    • How GitLab compares
    • Get started
    • GitLab docs
    • GitLab Learn
  • Pricing
  • Talk to an expert
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
    • Menu
    Projects Groups Snippets
  • Sign up now
  • Login
  • Sign in / Register
  • Lazarus Lazarus
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 2,080
    • Issues 2,080
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 7
    • Merge requests 7
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • Code review
    • Insights
    • Issue
    • Repository
  • External wiki
    • External wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • FPC
  • Lazarus
  • LazarusLazarus
  • Issues
  • #29412
Closed
Open
Created Jan 15, 2016 by FPC Admin account@fpc_adminOwner

Wrong position of TCheckBoxThemed in OI.

Original Reporter info from Mantis: Bart @flyingsheep
  • Reporter name: Bart Broersma

Description:

When OI uses TCheckBoxThemed (default now), then upon selecting a boolean property for the first time (first ever selection of a boolean in OI) the placement of the checkbox is rather off.

After that, when you select a boolean property, the checkbox moves a a few pixels to te right only upon selecting the property.

This only became visible after r51303 (which corrected a wrong ifdef in objectinspector unit.
Before that, the code was never called, because this (line 2680):

if FCurrentEdit is {$IFnDEF UseOINormalCheckBox} TCheckBoxThemed {$ELSE} TCheckBox {$ENDIF} then

always evaluated to false, because it would always check against the wrong classtype.

Steps to reproduce:

Apply r51303
Rebuild IDE
In OI click on a boolean property.
See the displacement.

Additional information:

See attached screenshot.
Only tested under win32.

The issue is not present if UseOICheckBoxThemed is defined.

Mantis conversion info:

  • Mantis ID: 29412
  • OS: Window
  • OS Build: Win7
  • Build: r51303
  • Platform: i386
  • Version: 1.7 (SVN)
  • Fixed in revision: r51416 (#cf3a735d)
Assignee
Assign to
Time tracking