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

Nested Items in Table Widgets #44

Merged
merged 8 commits into from
Oct 9, 2020
Merged

Nested Items in Table Widgets #44

merged 8 commits into from
Oct 9, 2020

Conversation

shundhammer
Copy link
Contributor

@shundhammer shundhammer commented Sep 22, 2020

Master PR

libyui/libyui-old#171 Edit 2021-08-10: Link updated

This is the NCurses-Pkg part.

Changes

  • Sorting now works differently; this is adapted to the new way in NCTable. Actually, this is now even simpler here.

  • After fixing a long-standing weirdness that always forced a caller to provide an alignment letter for each column when setting table headers, this is now fixed: We no longer need to set LName, LSize. This also simplified the sources. Plus, everywhere in NCurses-Pkg it was always just the default "align left" (L), so this was just more cruft in the code.

    The documented way would be anyway to call YTable::setAlignment( column ). This magic letter was always specific to the NCPad. This is now cleaned up on the base class level (NCTablePadBase).

Use YTable::setAlignment() instead.
But for all of libyui-ncurses-pkg it was always the default
left alignment anyway.
@joseivanlopez joseivanlopez changed the title WIP: Nested Items in Table Widgets Nested Items in Table Widgets Oct 9, 2020
@joseivanlopez joseivanlopez merged commit 4ffb2f0 into libyui:master Oct 9, 2020
mvidner pushed a commit to mvidner/libyui-combined-alpha-2 that referenced this pull request Dec 14, 2020
…-tree-table-01

Nested Items in Table Widgets
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

Successfully merging this pull request may close these issues.

2 participants