Giter VIP home page Giter VIP logo

Comments (4)

4mg1n3 avatar 4mg1n3 commented on May 27, 2024 1

Yes I had tried it and it didn't work, I looked a bit a the source code of pywebview yesterday and it didn't seem like there was a simple way to solve this problem. I'll have to reimplement it I guess...
Anyway thanks for your time and for your contribution on this amazing project

from nicegui.

falkoschindler avatar falkoschindler commented on May 27, 2024

Hi @4mg1n3,
I'm not sure if I understand correctly. When I run a native app like the following, I can very well resize the window, at least on macOS.

from nicegui import ui

ui.label('Hello, world!')

ui.run(native=True)

What OS are you referring to?

from nicegui.

4mg1n3 avatar 4mg1n3 commented on May 27, 2024

Oh no sorry I totally forgot to mention that I was in frameless and I'm on Windows idk if the behavior is the same on MacOS

from nicegui.

falkoschindler avatar falkoschindler commented on May 27, 2024

@4mg1n3 Can you, please, try this native pywebview example:

import webview

window = webview.create_window('Simple browser', 'https://pywebview.flowrl.com/', frameless=True)
webview.start()

I guess you can't resize it either, so it's not a NiceGUI but pywebview limitation.

from nicegui.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.