Code Monkey home page Code Monkey logo

directguiextension's People

Contributors

augustifolia avatar fireclawthefox avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

directguiextension's Issues

required assets

That library may require assets that are only installed with a Panda3D distribution and with a correct Prc. That may lead to runtime error since assets are not checked on startup.

eg

shuttle_controls_font = loader.loadFont('shuttle_controls')

on android and browser - where runtime is per application - the full distribution is not usually available.

Issues with setting properties of components at init time

Normally you can use SomeDirectGuiClass(component_parameter) to set a parameter of a component of some directGui element when you create the element. However this is not possible in some of the DirectGuiExtension classes (for example DirectCollapsibleFrame). This seems to be caused by initialiseoptions being called before the components are created. However just moving that function call will not always work because the functions from DirectGuiHelper are sometimes called when the components are created, which requires that initialiseoptions have been called.

One idea about how to solve this could be to use the frameSize instead of the DGH functions while creating the components. If anything has the wrong size thereafter, that could be updated at the end of the __init__ method with the correct size given by DGH.

What are your thoughts? Does this sound like a good solution or would you rather this be solved in some other way?

Create tab frame

A new frame which will hold multiple tabs and change its content dependent on the selected tab

Tabs will by default be listed on the top of the frame, alternatively they should be placeable to any of the other sides of the frame.

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.