:question: What is the recommended way to customiz...
# compose-desktop
t
What is the recommended way to customize the TitleBar? I know it can be disabled by
undecorated
flag, but how do I provide a custom Composable?
a
If you disable it, you can create a custom composable and place at the top of ur UI just like any other component.
k
You'd need to handle everything expected of the title bar - close/minimize/maximize buttons, dragging (with
WindowDraggableArea
), resizing from corners, etc
t
@Kirill Grouchnikov
WindowDraggableArea
is the component I was looking for Got further info from the issue u opened : https://github.com/JetBrains/compose-jb/issues/178 thanks 😄
@Ali Albaali the problem was the draggability.