Giter Club home page Giter Club logo

Comments (6)

ianharrigan avatar ianharrigan commented on August 11, 2024

The width is quite hard to auto size to be honest, that said, the height should be fine. Let me check the default theme.

from haxeui-hxwidgets.

ianharrigan avatar ianharrigan commented on August 11, 2024

what happens with:

<hslider pos="50" width="100" style="height:auto;" />

?

Ah - just noticed this is hxwidgets

from haxeui-hxwidgets.

ianharrigan avatar ianharrigan commented on August 11, 2024

image

This works for me... Have you tried the "validation" branches of haxeui-core and haxeui-hxwidgets?

from haxeui-hxwidgets.

R3D9477 avatar R3D9477 commented on August 11, 2024

@ianharrigan Thanks for your answer!

  1. hslider:height = vslider:width
  2. I'm on Linux Mint 18.2 x64 (with MATE de, based on GTK+), does it tested with non-windows platforms (linux/mac)?
  3. Sure, I've Haxe 3.4.2, hxWidgets, haxeui-core and haxeui-hxwidgets from git
  4. wxWidgets 3.0.2
  5. Whether to move an issue to hxWidgets repo?

Another example:

<vbox width="100%" height="100%">
	<hslider pos="50" width="100" height="25" />
	<vslider pos="50" width="25" height="100" />
</vbox>

1

<vbox width="100%" height="100%">
	<hslider pos="50" width="100" />
	<vslider pos="50" height="100" />
</vbox>

2

from haxeui-hxwidgets.

ianharrigan avatar ianharrigan commented on August 11, 2024

"validation" branches of haxeui-core and haxeui-hxwidgets the same?

from haxeui-hxwidgets.

R3D9477 avatar R3D9477 commented on August 11, 2024

@ianharrigan yes, with "validation" branches I have same result.

But, this sample is works fine (answering the previous question):

<vbox width="100%" height="100%">
	<hslider pos="50" width="100" style="height:auto;" />
	<vslider pos="50" height="100" style="width:auto;" />
</vbox>

from haxeui-hxwidgets.

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.