navigating-stories / orange-story-navigator

Add-on to the Orange3 data mining toolkit with text processing widgets from the project Navigating Stories
https://research-software-directory.org/projects/navigating-stories
Other
2 stars 2 forks source link

GUI does not show entire button for "Extract story elements" in Elements widget #40

Closed f-hafner closed 2 weeks ago

f-hafner commented 4 months ago
Story Navigator version

0.0.18 (commit https://github.com/navigating-stories/orange-story-navigator/commit/8732988e67920716c2eef3eef0af7d6e936da74f)

Orange version

3.36.2, Ubuntu 20.04

Expected behavior

See entire text.

Actual behavior

Can only see parts of the text.

Steps to reproduce the behavior

any workflow with Elements widget

Additional info (worksheets, data, screenshots, ...)

image

kodymoodley commented 3 months ago

I think the best solution is to have a flexible length for the button. Need to research but this might be useful: https://forum.qt.io/topic/121326/how-to-size-qpushbuttons-to-width-of-text-and-pack-left?_=1711523912775

ThijsVroegh commented 3 weeks ago

This is probably specific to ubuntu, since this is no issue for Mac m1 and windows 11. @eriktks, since you have the same system, could you perhaps check this on your computer?

eriktks commented 2 weeks ago

Yes, I also experienced this problem on Ubuntu Linux. The problem can be solved by removing the width and height definitions of the button, see PR #72

eriktks commented 2 weeks ago

Solved by PR #72