We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Deleting a tab item N, while N+1 is selected, will not update the selection underline bar.
Run the code, add 3 tabs, select tab 2, close tab 1, see the selection bar is under tab 3 rather than 2
package main import ( "fmt" "fyne.io/fyne/v2/app" "fyne.io/fyne/v2/container" "fyne.io/fyne/v2/theme" "fyne.io/fyne/v2/widget" ) func main() { a := app.New() w := a.NewWindow("Test") tab := container.NewDocTabs() count := 1 btn := widget.NewButton("Add Tab", func() { tab.Append(container.NewTabItemWithIcon( fmt.Sprintf("Tab Item %d", count), theme.HomeIcon(), widget.NewLabel(fmt.Sprintf("Tab Content %d", count)), )) tab.SelectIndex(len(tab.Items) - 1) count += 1 }) w.SetContent(container.NewBorder(btn, nil, nil, nil, tab)) w.ShowAndRun() }
develop v2.3.4-rc1.0.20230516195251-56dd0f3e0f32
1.20
Windows 10
No response
The text was updated successfully, but these errors were encountered:
Unfortunatly, this PR did not solve this bug report.
Try the code above :
see selection bar not syncronized.
Sorry, something went wrong.
Fix postion of line during deletion
ef93b2b
Fixes fyne-io#3905
Fixed on develop :)
No branches or pull requests
Checklist
Describe the bug
Deleting a tab item N, while N+1 is selected, will not update the selection underline bar.
How to reproduce
Run the code, add 3 tabs, select tab 2, close tab 1, see the selection bar is under tab 3 rather than 2
Screenshots
Example code
Fyne version
develop v2.3.4-rc1.0.20230516195251-56dd0f3e0f32
Go compiler version
1.20
Operating system and version
Windows 10
Additional Information
No response
The text was updated successfully, but these errors were encountered: