Using eepp as a complete beginner to c++ #23
Replies: 6 comments 18 replies
-
How to get an element from a layout? |
Beta Was this translation helpful? Give feedback.
-
How does the Gridlayout function? |
Beta Was this translation helpful? Give feedback.
-
Depends on how you want it to work, this is defined by the colummn-mode property.
<ScrollView id="GridView" layout_width="match_parent" layout_height="match_parent" touchdrag="true">
<GridLayout column-mode="size" row-mode="size" column-width="64dp" row-height="64dp" layout_width="match_parent" layout_height="wrap_content" id="gridlayout" />
</ScrollView> I usually use it with a ScrollView (a scroll view automatically adds scrollbars if content doesn't fit to its container). You can find an working implementation in UITextureViewer. Clarification, in the example you'll see the properties named without dashes |
Beta Was this translation helpful? Give feedback.
-
How does one style the elements of a dropdownlist? I want this to not cut the text in half and to display all options and not overlap: |
Beta Was this translation helpful? Give feedback.
-
How would I build for windows if I am on Linux? #if EE_PLATFORM == EE_PLATFORM_LINUX
//something linux specific here
#endif
#if EE_PLATFORM == EE_PLATFORM_WINDOWS
//something windows specific here
#endif |
Beta Was this translation helpful? Give feedback.
-
You'll need to install mingw32/mingw64 and mingw64 libSDL2 package (I can't tell you exactly how it's called because I don't know what distro you're using). It's not always trivial if you're not experienced but it's doable.
Yes, it is. |
Beta Was this translation helpful? Give feedback.
-
A thread, mainly for me right now (as I lack much previous experience with cpp) to answer questions related to the library, it's usage etc.
Hopefully will be a useful resource for people, who want to start using the library in the future, but have issues.
All previous discussion in #22
Hopefully this is a good way of structuring resources or something idk
Beta Was this translation helpful? Give feedback.
All reactions