zt
02/26/2024, 6:58 PMKirill Grouchnikov
02/26/2024, 7:34 PMSwingPanel
to get it all working. Is there a particular reason why you don’t want to use SwingPanel
or the code in lwjgl
? Do you have a working proof of concept that shows that these two can be cut out without borrowing much of their code?Landry Norris
02/26/2024, 8:48 PMIvan Matkov
02/26/2024, 8:54 PMzt
02/27/2024, 4:33 AMZoff
02/27/2024, 7:30 AMZoff
02/27/2024, 7:31 AMIvan Matkov
02/27/2024, 8:52 AMMarcin Wisniowski
02/29/2024, 2:00 PMIvan Matkov
02/29/2024, 2:04 PMWhere can I learn more about this “popup as separate panel or window” feature?Docs are in process, it will be public soon. Let me find my draft
Will this fix the issue that tooltips cannot extend past the edge of the window?yes, but please note that most of material built-in components has default logic to fit it to the size of the screen
Ivan Matkov
02/29/2024, 2:06 PMcompose.layers.type
system property. The possible values are:
1. COMPONENT
- for creating Popup/Dialog as a separate Swing component in the same window. It might work only with offscreen rendering.
2. WINDOW
- for creating Popup/Dialog as a separate undecorated window.
3. any other value - the old behavior that draws everything in the initial canvas.
ComposePanel.windowContainer
- API for customizing parent container for Popup/Dialog. Used only with COMPONENT
type.Ivan Matkov
02/29/2024, 2:06 PMCOMPONENT
typeMarcin Wisniowski
02/29/2024, 2:09 PMIvan Matkov
02/29/2024, 2:09 PMIvan Matkov
02/29/2024, 2:11 PMMarcin Wisniowski
02/29/2024, 2:11 PMIvan Matkov
02/29/2024, 2:12 PMMarcin Wisniowski
02/29/2024, 2:12 PMIvan Matkov
02/29/2024, 2:13 PMPopup
clamping via PopupProperties.clippingEnabled
flagMarcin Wisniowski
03/06/2024, 2:51 AMWINDOW
mode, but my context menus (Popups) don't render their content.Ivan Matkov
03/06/2024, 3:59 AMMarcin Wisniowski
03/06/2024, 11:26 AMIvan Matkov
03/06/2024, 11:28 AMMarcin Wisniowski
03/06/2024, 11:30 AMWINDOW_OPAQUE
mode? My non-Material tooltips and dropdowns don't have rounded corners anyway. Not sure if that's the actual issue though. I will experiment more and open an issue.Marcin Wisniowski
03/06/2024, 12:02 PMMarcin Wisniowski
03/06/2024, 12:09 PM