Set geometry in test_textbase.py.
See 83f7cf84a9
- it seems with the Qt 5.4.2
upgrade there are some more warnings on Windows.
This commit is contained in:
parent
b1e9ff059a
commit
9b066ec50a
@ -46,6 +46,7 @@ def test_elided_text(qtbot, elidemode, check):
|
|||||||
"""
|
"""
|
||||||
label = TextBase(elidemode=elidemode)
|
label = TextBase(elidemode=elidemode)
|
||||||
qtbot.add_widget(label)
|
qtbot.add_widget(label)
|
||||||
|
label.setGeometry(200, 200, 200, 200)
|
||||||
long_string = 'Hello world! ' * 20
|
long_string = 'Hello world! ' * 20
|
||||||
label.setText(long_string)
|
label.setText(long_string)
|
||||||
label.resize(100, 50)
|
label.resize(100, 50)
|
||||||
|
Loading…
Reference in New Issue
Block a user