Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • libhandy libhandy
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 131
    • Issues 131
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 19
    • Merge requests 19
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Librem5
  • libhandylibhandy
  • Merge requests
  • !232

WIP: column: Fix the minimum and natural widths

  • Review changes

  • Download
  • Email patches
  • Plain diff
Open Adrien Plazas requested to merge adrien.plazas/libhandy:column-natural into master Feb 22, 2019
  • Overview 3
  • Commits 2
  • Pipelines 1
  • Changes 1

Set the natural width of the column from the child's one to what is needed for the child to reach the maximum allocatable width.

This not only makes more sense but it will allow HdyColumn to serve as a container setting a natural size to its child by giving the same value to the maximum width and the linear growth width.

This also fixes the minimum size request of the column by ensuring it doesn't allocate less width than its child requires.

Fixes #87 (closed)

Edited Feb 27, 2019 by Adrien Plazas
Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: column-natural