Skip to content

grid resizing person shape past aspect ratio limit #1405

Done

Description

@gavin-ts

grid expands person shape to width of column (callout's width). Note circles and squares also need to be accounted for. I think the desired result is to center the shape in the total width, with the max width appropriate for the shape's height. However this may then appear as padding despite pad:0 for example.

see #1404

Activity

  1. bo-ku-ra commented on Jun 14, 2023

    @bo-ku-ra
    Contributor
  2. alixander commented on Jun 26, 2023

    @alixander
    Collaborator

    grid resizing is also making labels weird:

    Usecase Diagram: {
      # Actors.user -> System.user_auth
      Actors: {
        grid-columns: 1
        style: {
          opacity: 0.0
        }
        User: User {shape: person}
        sub: Subroles {shape: person}
        admin: Administrator {shape: person}
      }
    
      System: {
        grid-columns: 1
        user_auth: User Auth {
          shape: oval
        }
        income_expense: Income and Expense {
          shape: oval
        }
        budget: Budget {
          shape: oval
        }
        debt: Debt {
          shape: oval
        }
        goal: Goal {
          shape: oval
        }
        report: Report {
          shape: oval
        }
        bill_reminder: Bill Reminder {
          shape: oval
        }
        data_export: Data Export {
          shape: oval
        }
      }
    }
    Screen Shot 2023-06-26 at 2 02 24 PM
  3. self-assigned this
    on Jun 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions