Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Row/Column span to TableLayout #858

Open
TomQv opened this issue Aug 11, 2017 · 6 comments
Open

Add Row/Column span to TableLayout #858

TomQv opened this issue Aug 11, 2017 · 6 comments
Milestone

Comments

@TomQv
Copy link

TomQv commented Aug 11, 2017

I know spaning a control over several cells in a TableLayout is still a missing feature, but for my purpose it was easy to add this by adding some calls to swc.Grid.SetRowSpan in Eto.Wpf\Forms\TableLayoutHandler.cs. So for WPF its fine.

But, I have no idea, what I must do on the Mac-side for this. Can you maybe point me into the right direction? I can't see at the moment, how TableLayout was implemented on the Mac-side and where there might be a native call for that.

@DanWBR
Copy link
Contributor

DanWBR commented Aug 11, 2017

You can combine Dynamic and Table Layouts to achieve what you need.

@TomQv
Copy link
Author

TomQv commented Aug 11, 2017

Interesting, but the wiki is saying "Unlike other layouts, the DynamicLayout can only be modified during creation." So its not for us, because we need to be able to replace cell-content and also to toggle visibility.

@DanWBR
Copy link
Contributor

DanWBR commented Aug 11, 2017

I see. you could try using nested TableLayouts then...

@TomQv
Copy link
Author

TomQv commented Aug 11, 2017

Nested TableLayouts looks good, I believe this will do for us.
Thanks

@cwensley
Copy link
Member

Just for reference, on Mac there is no native "table layout" control, so there is no way to do this by setting a native property or value. The layout is done completely manually (see here) and the code doesn't support spans.

The way this will be implemented is via #556.

@cwensley cwensley changed the title TableLayout Row/Column-Span - WPF ok, but Mac?? Add Row/Column span to TableLayout Aug 16, 2017
@cwensley cwensley added this to the 3.0 milestone Aug 16, 2017
@WileyNg
Copy link

WileyNg commented Apr 17, 2022

this is still incomplete?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants