Results 470 comments of Malcolm Smith

_Originally posted by @freakboy3742 in https://github.com/beeware/toga/issues/1544#issuecomment-1204695658_ To be clear - while we might be able to repurpose `text_align` to perform centering, I'm not 100% sure `text_align` is the right fix...

_Originally posted by @shape-warrior-t in https://github.com/beeware/toga/issues/1544#issuecomment-1227895853_ My understanding is that currently, the final width of a row box with children is always the sum of its children's full widths, and...

_Originally posted by @shape-warrior-t in https://github.com/beeware/toga/issues/1544#issuecomment-1227898825_ OK, one potential idea: CSS uses `align-items` for cross axis alignment and `justify-content` for main axis alignment, so maybe we could copy them with...

_Originally posted by @freakboy3742 in https://github.com/beeware/toga/issues/1544#issuecomment-1227917290_ As I said in my previous comment, my preferred approach here is *not* to introduce new properties, or custom interpretations - but to converge...

Yes, I think increasing the number of supported CSS attributes is the way to go here, and #1778 has already made a start at defining Pack in terms of CSS....

> If you take the example where `btn_box` is a `column` box, and make that box `flex:1`, the box containing the button fills the remainder of the page. If you...

I've accidentally discovered another way of centering a button: ```py def startup(self): main_box = toga.Box(style=Pack(direction=COLUMN, alignment="center")) name_box = toga.Box(style=Pack(direction=ROW)) button = toga.Button('Say Hello!', style=Pack(font_size=15)) btn_box = toga.Box(style=Pack(direction=ROW)) btn_box.add(button) main_box.add(name_box) main_box.add(btn_box)...

Just saving this suggestion from https://github.com/beeware/toga/pull/2244#issuecomment-1832493790: > `Window.commands` would default to an empty CommandSet, but if you want to hide the menu bar, you can set it to `None`. On...

> I'm also uncertain about one detail on Cocoa's coalescing of menus: would menu items for window A would be visible when Window B has focus (and if they _are_...

> It currently takes almost 90 minutes to do a CI build of the support packages It's even worse than that, because we can only run [5 concurrent macOS jobs](https://docs.github.com/en/actions/learn-github-actions/usage-limits-billing-and-administration#usage-limits)...