question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add support to create draggable window without title bar

See original GitHub issue

Description

The idea would be to add a function that does the same as a title bar, opening spaces for customizations,

I am currently working on a maui blazor app

I removed the default title bar, created one in blazor, but currently there is nothing that allows me to make the app draggable

In wpf there was a DragMove() function that did the service

Why doesn’t maui have this kind of thing too?

This would make you have more customization possibilities and not get stuck in that windows title bar

Public API Changes

An example of a title bar created in blazor

The DragWindow() function would be the function provided from maui

<div class="lateral_title_bar" @onmousedown="@MoveWindow">
 ....
</div>

@code {
   private void MoveWindow() {
           App.DragWindow();
   }
}

Intended Use-Case

I know maui is still new, but this kind of implementation would allow new creations without having to get stuck in the default title bar

And an app built in maui and blazor needs it

Issue Analytics

  • State:open
  • Created a year ago
  • Reactions:7
  • Comments:8 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
pablokentchcommented, Sep 27, 2022

@Eilon It was just an example of how it could be on maui, there is no DragWindow() function

0reactions
lfmouradasilvacommented, Aug 2, 2023

Any updates on this issue?

Read more comments on GitHub >

github_iconTop Results From Across the Web

how to drag a window without titlebar
Hello, normally i use the titlebar to drag a window to the position i want it. But this time i need a window...
Read more >
QT4 Drag Window Without Title Bar
Most intuitive way to do this would be clicking on the widget surface and dragging. In order to achieve this, you need to...
Read more >
How to drag any window without using titlebar?
This might be a bit different than what you were looking for, but one way is to open the window context menu with...
Read more >
Creating a Flat UI Titlebar in LabVIEW (draggable window ...
The next step will be to hide the native Titlebar, Menubar, Scrollbars, and Toolbar, so that our Flat UI Titlebar looks like the...
Read more >
How to drag window from anywhere on the window without ...
2 Answers 2 ... To move any window, including borderless ones such as iTerm, you can move the mouse to any edge of...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found