Giter Site home page Giter Site logo

Create Type Building Button about teaser HOT 9 CLOSED

rwth-ebc avatar rwth-ebc commented on September 18, 2024
Create Type Building Button

from teaser.

Comments (9)

CGingter avatar CGingter commented on September 18, 2024

Nearly done, need some help with the translations and i will also translate the picture files and folders there aswell.

translation necessary

from teaser.

CGingter avatar CGingter commented on September 18, 2024

Some weird behaviour, i did not manage to resize the group boxes for residential so...the window gets slightly larger if you switch the example building (which will be renamed to type building along with englishing everything else).

from teaser.

PRemmen avatar PRemmen commented on September 18, 2024

You can adapt the translation from teaser/logic/buildingobjects/typebuildings

e.g.

"""
 residential_layout : int
        type of floor plan (default = 0)

        0: compact
        1: elongated/complex

    neighbour_buildings : int
        neighbour (default = 0)

        0: no neighbour
        1: one neighbour
        2: two neighbours

    attic : int
        type of attic (default = 0)

        0: flat roof
        1: non heated attic
        2: partly heated attic
        3: heated attic

    cellar : int
        type of cellar (default = 0)

        0: no cellar
        1: non heated cellar
        2: partly heated cellar
        3: heated cellar

    construction_type : str
        construction type (default = "heavy")

        heavy: heavy construction
        light: light construction

    dormer : str
        construction type

        0: no dormer
        1: dormer
"""

from teaser.

PRemmen avatar PRemmen commented on September 18, 2024

are you able to implement line breaks? this might solve the sizing issue?

from teaser.

CGingter avatar CGingter commented on September 18, 2024

No this is just an automatic grid layout, i can only give positions and they take as much space as they need...or way more in this example but now idea why. I would propose to leave it this way since it is not really a problem and if someone has a bit of time in the future you could exchange the grid layout for a layout with specific coordinates.

from teaser.

CGingter avatar CGingter commented on September 18, 2024

So for some reason translating to english fixed everything...woooo programming :-)

Now another issue becomes apparent. The left side of the window is very spread out because the window needs to be pretty long for the right part to look good in the residential view. I could move the Architecture box over to the left side but then the right side would be very spread out in the office view. Any ideas? I pushed it so you can check it out for yourself.

from teaser.

PRemmen avatar PRemmen commented on September 18, 2024

I think it might be nice to have the Construction Type (pls rename Architecture to construction type) on the left side. Maybe you can implement then just empty space under the radiobuttons to have a good design. Any other suggestions?

from teaser.

mlauster avatar mlauster commented on September 18, 2024

Yep, moving Construction Type to the left side is an option.
Anyway, could you group the left side fields at the top of the box? Just as you did it in static heat load? This looks a lot more better. And if then at the left or right side is some space at the bottom, this is totally okay, the two sides don't have to have the same appearance.

from teaser.

CGingter avatar CGingter commented on September 18, 2024

Is this better?

from teaser.

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.