eygraber
05/19/2023, 7:30 PMText aligned over the "TertiaryContainer" and "Primary" TextButton?
Currently I have it implemented as a Column of 3 Rows . I use an onPlaced modifier on the first "TertiaryContainer" and "Primary" and use the resulting LayoutCoordinates.positionInParent().x to set an offset modifier for "Container Color" and "Content Color". I tried using a grid but it splits the column size equally to match the GridCells.Fixedandrew
05/19/2023, 7:42 PMandrew
05/19/2023, 7:42 PMeygraber
05/19/2023, 7:47 PMonPlaced / offset approach that I described).
It's a tool I'm building for my design team so they can play around with using different tokens for different components and get real time feedbackandrew
05/19/2023, 7:52 PMeygraber
05/19/2023, 8:10 PMText so that they are directly over the "TertiaryContainer" and "Primary" TextButtons .
If I remove the offset modifier, it looks like thisandrew
05/19/2023, 8:25 PMColton Idle
05/19/2023, 9:12 PMandrew
05/19/2023, 9:13 PMeygraber
05/19/2023, 11:37 PMandrew
05/19/2023, 11:53 PMeygraber
05/19/2023, 11:58 PMandrew
05/19/2023, 11:59 PMeygraber
05/20/2023, 12:00 AMeygraber
05/22/2023, 11:01 PM