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

viz.ui.ListBoxItem2D text overflow #1569

Closed
karandeepSJ opened this Issue Jun 17, 2018 · 1 comment

Comments

Projects
2 participants
@karandeepSJ
Copy link
Contributor

karandeepSJ commented Jun 17, 2018

Description

If the text provided to a ListBoxItem2D object is longer than its width, then the text overflows out of the background and out of the list-box. It should go upto the width and replace the remaining characters by a "..."

Way to reproduce

import dipy.viz.ui as ui
import dipy.viz.window as window
values = ['abcdefghijklmnopqrstuvwxyz']
listbox = ui.ListBox2D(values=values, size=(300, 300))
sm=window.ShowManager(size=(600,600))
sm.ren.add(listbox)
sm.start()
@skoudoro

This comment has been minimized.

Copy link
Member

skoudoro commented Sep 20, 2018

This issue was moved to fury-gl/fury#15

@skoudoro skoudoro closed this Sep 20, 2018

@skoudoro skoudoro moved this from Issues to Done in Viz Module Oct 31, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment