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

Size for side widgets #21941

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Size for side widgets #21941

wants to merge 2 commits into from

Conversation

0xRe1nk0
Copy link
Contributor

No description provided.

@0xRe1nk0 0xRe1nk0 linked an issue Feb 21, 2025 that may be closed by this pull request
Comment on lines 104 to 114
protected void applySettings() {
if (widgetInfo != null) {
updateRowWidgets(widgetInfo);
}

if (widgetInfo != null) {
if (widgetInfo.widget instanceof ISupportWidgetResizing widgetResizing) {
widgetResizing.recreateView();
if (widgetInfo != null && widgetInfo.widget instanceof ISupportWidgetResizing widgetResizing) {
boolean isVerticalPanel = widgetInfo.getWidgetPanel().isPanelVertical();
if (isVerticalPanel) {
updateRowWidgets(widgetInfo);
} else {
widgetResizing.getWidgetSizePref().set(selectedWidgetSize);
}

widgetResizing.recreateView();
}
Copy link
Member

Choose a reason for hiding this comment

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

It looks like we call recreateView two times, is it intended?

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.

Allow to select size for widgets in Left / Right panel
2 participants