Skip to content
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

Make the service status label stretchable (bsc#1110407) #841

Merged
merged 1 commit into from
Oct 2, 2018

Conversation

lslezak
Copy link
Member

@lslezak lslezak commented Oct 2, 2018

Ensure the updated status is displayed correctly

- 4.1.20
@coveralls
Copy link

Coverage Status

Coverage remained the same at 30.784% when pulling ce3ea94 on fixed_label into 368a3a2 on master.

Label(" "),
Label(Id(:service_widget_status), status)
HSpacing(1),
Label(Id(:service_widget_status), Opt(:hstretch), status)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what is exactly problem? In past I see similar issue with CWM and correct solution should be usage of UI.RecalcLayout https://yast-ui-bindings.surge.sh/classYCP__UI.html#a7da317092ab6d90ca7bbfe06c196b54d

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You need to add a hook to the change event, moreover it recalculates the whole layout which is not trivial. This only affects the label.

@lslezak lslezak merged commit e009cd1 into master Oct 2, 2018
@yast-bot
Copy link
Contributor

yast-bot commented Oct 2, 2018

✔️ Public Jenkins job #37 successfully finished
✔️ Created OBS submit request #639589

@yast-bot
Copy link
Contributor

yast-bot commented Oct 2, 2018

❌ Internal Jenkins job #43 failed

@yast-bot
Copy link
Contributor

yast-bot commented Oct 2, 2018

✔️ Internal Jenkins job #44 successfully finished
✔️ Created IBS submit request #173312

@lslezak lslezak deleted the fixed_label branch October 2, 2018 13:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants