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

Default sizes #25

Closed
ermau opened this issue Mar 1, 2012 · 2 comments
Closed

Default sizes #25

ermau opened this issue Mar 1, 2012 · 2 comments
Milestone

Comments

@ermau
Copy link
Member

ermau commented Mar 1, 2012

GTK defines default sizes for widgets, WPF does not. Either:

  1. XWT needs to define default sizes so WPF can match.
  2. GTK sizes need to be reset to minimums and the user should specify.
@slluis
Copy link
Member

slluis commented Mar 1, 2012

XWT can't decide the default size of a native widget, that's something the backend has to provide. For example, the default size of a Label should be the size required for showing the whole text of the label. The same happens with Button, CheckBox or Radio Button. The size of a button will depend on the text, but there can also be margins and boders which are platform specific.

@ermau
Copy link
Member Author

ermau commented Mar 1, 2012

Couldn't XWT define default minimum-sizes and provide them to the backends? Wouldn't this provide the "uniform-but-platform-specific" type behavior?

@ermau ermau closed this as completed Apr 9, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants