|
Sweet Home 3D Forum » List all forums » » Forum: Developers » » » Thread: Bug found in HomefurniturePanel.java » » » » Post: Re: Bug found in HomefurniturePanel.java |
Print at Jan 21, 2026, 2:51:15 AM |
| Posted by Walter125 at Oct 15, 2023, 8:38:15 PM |
|
Re: Bug found in HomefurniturePanel.java I think it is a bug internal to the java linux implementation. It seems I have found a workarround, adding the following line before to add the Label to the grid at line 2111: this.transformationsLabel.setPreferredSize(this.transformationsLabel.getPreferredSize());I haven't a good knowledge of the program, but I also wonder if the size of the previewComponent should be scaled by in order to be adapted to the screen resolution, at line 2114 ? Example of scaling: float scale = SwingTools.getResolutionScale();instead of actually: this.previewComponent.setPreferredSize(new Dimension(400, 400)); |
|
|
Current timezone is GMT Jan 21, 2026, 2:51:15 AM |