mirror of
https://github.com/rivo/tview.git
synced 2026-04-26 13:25:51 +03:00
[PR #800] Center #1044
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/tview#1044
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/rivo/tview/pull/800
Author: @vendelin8
Created: 1/28/2023
Status: 🔄 Open
Base:
master← Head:center📝 Commits (3)
de5c053A center widget with its own demodee47f6updated presentation demo with Center widgetddf204fcenter draw redraws background first📊 Changes
9 files changed (+147 additions, -20 deletions)
View changed files
➕
center.go(+113 -0)➕
demos/center/README.md(+1 -0)➕
demos/center/main.go(+29 -0)📝
demos/center/screenshot.png(+0 -0)➖
demos/presentation/center.go(+0 -16)📝
demos/presentation/code.go(+1 -1)📝
demos/presentation/colors.go(+1 -1)📝
demos/presentation/end.go(+1 -1)📝
demos/presentation/introduction.go(+1 -1)📄 Description
A new Center widget that is more lightweight than two nested Flex, and it's cleaner a little bit.
Wiki should be updated with these changes, also I moved a screenshot from
demos/modal/centered.pngtodemos/center/screenshot.png🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.