mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-14 18:05:27 +07:00
[PyCharm Tables] PY-80085 Show compact mode of columns' statistics for tables by default #PY-80085 Fixed
* To improve the Statistics Table Headers discoverability, in the case of small tables, the Compact mode will be the default one. GitOrigin-RevId: 6af2279b33391cd07eb219747fa786b6ef14a85d
This commit is contained in:
committed by
intellij-monorepo-bot
parent
8832f4362f
commit
35d329ef2c
@@ -2777,11 +2777,15 @@ public final class TableResultView extends JBTableWithResizableCells
|
||||
return myStatisticsHeader;
|
||||
}
|
||||
|
||||
public void setStatisticsPanelMode(StatisticsPanelMode panelMode) {
|
||||
public void setStatisticsPanelMode(StatisticsPanelMode newPanelMode) {
|
||||
StatisticsPanelMode previousPanelMode = getStatisticsPanelMode();
|
||||
if (myStatisticsHeader != null) {
|
||||
myStatisticsHeader.setStatisticsPanelMode(panelMode);
|
||||
myStatisticsHeader.setStatisticsPanelMode(newPanelMode);
|
||||
|
||||
if (previousPanelMode != null) {
|
||||
myColumnLayout.resetLayout();
|
||||
}
|
||||
}
|
||||
myColumnLayout.resetLayout();
|
||||
}
|
||||
|
||||
public StatisticsPanelMode getStatisticsPanelMode() {
|
||||
|
||||
Reference in New Issue
Block a user