mirror of
https://github.com/processing/processing4.git
synced 2026-02-03 21:59:20 +01:00
Merge pull request #3343 from Akarshit/gsoc-scrollbar
Made the vertical scrollbar to be displayed when needed
This commit is contained in:
@@ -279,7 +279,7 @@ public class ContributionManagerDialog {
|
||||
scrollPane.setViewportView(contributionListPanel);
|
||||
// scrollPane.getViewport().setOpaque(true);
|
||||
// scrollPane.getViewport().setBackground(contributionListPanel.getBackground());
|
||||
scrollPane.setVerticalScrollBarPolicy(ScrollPaneConstants.VERTICAL_SCROLLBAR_ALWAYS);
|
||||
scrollPane.setVerticalScrollBarPolicy(ScrollPaneConstants.VERTICAL_SCROLLBAR_AS_NEEDED);
|
||||
scrollPane.setHorizontalScrollBarPolicy(ScrollPaneConstants.HORIZONTAL_SCROLLBAR_NEVER);
|
||||
// scrollPane.setBorder(new EmptyBorder(0, 7, 0, 7));
|
||||
pane.add(scrollPane, BorderLayout.CENTER);
|
||||
|
||||
Reference in New Issue
Block a user