Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SpinButton doesn't default fill/expand properly #29

Open
eXpl0it3r opened this issue Nov 17, 2015 · 0 comments
Open

SpinButton doesn't default fill/expand properly #29

eXpl0it3r opened this issue Nov 17, 2015 · 0 comments
Labels

Comments

@eXpl0it3r
Copy link
Collaborator

When you don't set an allocation for the window the SpinButton doesn't expand/fill properly to its content.

SpinButton

Example Code

m_spin_button = sfg::SpinButton::Create(1.f, 8.f, 1.f);
m_spin_box = sfg::Box::Create(sfg::Box::Orientation::HORIZONTAL);
m_spin_box->Pack(m_spin_button, true, true);

m_options_box = sfg::Box::Create(sfg::Box::Orientation::VERTICAL);
m_options_box->Pack(m_spin_box, false, false);

m_ui = sfg::Window::Create();
m_ui->Add(m_options_box);

m_desktop.Add(m_ui);

Looks like the buttons aren't even taken into account.

@TankOs TankOs added the bug label Jul 15, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants