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
    Projects Groups Topics Snippets
  • Register
  • Sign in
  • Lazarus Lazarus
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
    • Locked files
  • Issues 2,104
    • Issues 2,104
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 14
    • Merge requests 14
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test cases
  • Deployments
    • Deployments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • External wiki
    • External wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • FPC
  • LazarusLazarus
  • LazarusLazarus
  • Issues
  • #28654
Closed
Open
Issue created Sep 10, 2015 by FPC Admin account@fpc_adminOwner

Setting Contraints-Value has no effect

Original Reporter info from Mantis: TBug
  • Reporter name:

Description:

Setting Contraints.MaxHeight to a value smaller then Height dosn't set the Height of the Component to the Contraints.MaxHeight.

Setting Contraints.MaxWidth to a value smaller then Width dosn't set the Width of the Component to the Contraints.MaxWidth.

Setting Contraints.MinHeight to a value higher then Height dosn't set the Height of the Component to the Contraints.MinHeight.

Setting Contraints.MinWidth to a value higherthen Width dosn't set the Width of the Component to the Contraints.MinWidth.

The issue appears at design- and runtime.

Steps to reproduce:

Create a new application and put a TMemo on it.

Use OI to set e.g. the Contraints.MaxHeight to 20.
The TMemo doesn't decrease it's Height to the MaxHeight-Value.

Same behaviour while setting any Constraints-Value during Runtime by:

Memo1.Height := 200;
Memo1.Constaints.MaxHeight := 100;

The Memo1 still has a height of 200.

Mantis conversion info:

  • Mantis ID: 28654
  • OS: Windows
  • Build: 49524
  • Platform: Win32
  • Version: 1.4.2
  • Fixed in revision: r50942 (#dfebe219), r56946 (#8726ea27), r56947 (#9ecac754), r57082 (#81c4a099)
  • Monitored by: » TBug (TBug)
Assignee
Assign to
Time tracking