This commit is contained in:
Torsten 2025-04-10 21:47:25 +02:00
parent 819bcfac15
commit 820737bc69
11 changed files with 42 additions and 53774 deletions

View file

@ -1,3 +0,0 @@
Aktuell: Kraftstatus loggen, mit Ziel auf 4 x Level 6 zu kommen

View file

@ -1,54 +0,0 @@
| Woche | Kraft-Level | Rope + Jogging | Gewicht |
| ----- | ----------- | -------------- | ------- |
| 1 | | 1/32 - 1/13 | |
| 2 | | | |
| 3 | | | |
| 4 | | | |
| 5 | | | |
| 6 | | | |
| 7 | | | |
| 8 | | | |
| 9 | | | |
| 10 | | | |
| 11 | | | |
| 12 | | | |
| 13 | | | |
| 14 | | | |
| 15 | | | |
| 16 | | | |
| 17 | | | |
| 18 | | | |
| 19 | | | |
| 20 | | | |
| 21 | | | |
| 22 | | | |
| 23 | | | |
| 24 | | | |
| 25 | | | |
| 26 | | | |
| 27 | | | |
| 28 | | | |
| 29 | | | |
| 30 | | | |
| 31 | | | |
| 32 | | | |
| 33 | | | |
| 34 | | | |
| 35 | | | |
| 36 | | | |
| 37 | | | |
| 38 | | | |
| 39 | | | |
| 40 | | | |
| 41 | | | |
| 42 | | | |
| 43 | | | |
| 44 | | | |
| 45 | | | |
| 46 | | | |
| 47 | | | |
| 48 | | | |
| 49 | | | |
| 50 | | | |
| 51 | | | |
| 52 | | | |

View file

@ -1,5 +0,0 @@
Subcategories:
Aufräumen
Putzen / Instandhalten
Hausprojekte

View file

@ -1,3 +0,0 @@
Unabhängigkeitsfaktor 2024: 670 / 3000 = 22,33%
Minimalunabhängigkeit: 670/1000 = 67%

View file

@ -1 +0,0 @@
Webdev + Gamedev

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,41 @@
To make an `HBoxContainer` dynamically resize with its image contents in Godot 4.3, follow these steps:
## Core Setup
- **Parent with `ScrollContainer`**: Place your `HBoxContainer` inside a `ScrollContainer` to enable scrolling when content exceeds visible area. Set the scroll direction (horizontal/vertical) in the `ScrollContainer` properties[5].
- **Container Settings**:
- Enable `Expand` and set **Stretch Mode** to `Keep Aspect` on all child `TextureRect` nodes[2].
- Apply **Size Flags** (`Fill` and `Expand`) to each `TextureRect` to ensure proportional scaling[2][3].
## Dynamic Resizing
For automatic width adjustment when adding/removing images:
```gdscript
# After adding/removing children:
$HBoxContainer.queue_sort() # Forces layout update
$ScrollContainer.update_scroll() # Refreshes scroll boundaries
```
If automatic resizing fails (common with dynamic content), manually calculate and set the container width:
```gdscript
var total_width = 0
for child in $HBoxContainer.get_children():
total_width += child.size.x
total_width += $HBoxContainer.get_constant("separation") * ($HBoxContainer.get_child_count() - 1)
$HBoxContainer.custom_minimum_size.x = total_width
```
## Alternative Approach
For wrapping behavior, replace `HBoxContainer` with an `HFlowContainer` (ensuring it's inside a fixed-size Control node). This automatically wraps overflowing items to new rows while scaling contents[2][4].
Citations:
[1] https://stackoverflow.com/questions/30974986/dynamically-resize-side-by-side-images-with-different-dimensions-to-the-same-hei
[2] https://www.reddit.com/r/godot/comments/13lbizw/how_to_resize_contents_of_hbox_container/
[3] https://forum.godotengine.org/t/image-scaling-inside-a-hboxcontainer/20753
[4] https://www.youtube.com/watch?v=GMKZU66uZac
[5] https://godotforums.org/d/29145-why-isn-t-the-size-of-a-hbox-container-being-updated-automatically-i-have-to-do-it-manually
[6] https://stackoverflow.com/questions/11093414/css-row-of-images-dynamically-resized-to-fill-container
[7] https://www.sitepoint.com/community/t/dynamically-resize-and-reshape-containers-and-images/421461
[8] https://docs.godotengine.org/en/stable/classes/class_hboxcontainer.html
---
Antwort von Perplexity: https://www.perplexity.ai/search/godot-4-3-ui-scrollable-image-XrHVby6bQ.C3e3jEh_kLow?utm_source=copy_output

View file

@ -0,0 +1 @@
https://www.youtube.com/watch?v=KOI0y1OC_tM&list=WL&index=1

View file

@ -1,14 +0,0 @@
| Urlaub | Kostenart | Betrag | Anteil Torsten | Anteil Verena |
| -------------------------- | ------------------------------------- | ------------------ | ------------------ | ------------------ |
| Oberstdorf 29.06. - 04.07. | Zimmer | 1100 | =c2/2 | =c2/2 |
| Oberstdorf 29.06. - 04.07. | Bahnticket | 50 | 50 | |
| Italien Nebensaison | Platzmiete Mose Nebensaison reduziert | =15*25 | =c3/2 | =c3/2 |
| Italien Nebensaison | Depot Miete | 500 | =c4/2 | =c4/2 |
| Italien Nebensaison | Vignetten+Maut | 100 | =c5/2 | =c5/2 |
| Italien Nebensaison | Fahrräder | 1000 | 1000 | |
| SUMME | | =c2+c3+c4+c5+c6+c7 | =d2+d3+d4+d5+d6+d7 | =e2+e3+e4+e5+e6+e7 |
+ Schützenfest Anzug + Geschenk
+