mirror of
https://github.com/ArthurSonzogni/FTXUI.git
synced 2025-07-23 12:41:15 +08:00
issues update
This commit is contained in:
parent
b07454570f
commit
747eb7f534
@ -122,6 +122,20 @@ class Frame : public Node {
|
|||||||
private:
|
private:
|
||||||
bool x_frame_;
|
bool x_frame_;
|
||||||
bool y_frame_;
|
bool y_frame_;
|
||||||
|
|
||||||
|
// Neue Methode zur Messung der dynamischen Höhe
|
||||||
|
int measureContentHeight() {
|
||||||
|
// Logik zur Messung der Höhe des Inhalts
|
||||||
|
return 150; // Beispiel für eine dynamische Höhe
|
||||||
|
}
|
||||||
|
|
||||||
|
void calculateLayout() {
|
||||||
|
// Berechnung der dynamischen Höhe basierend auf dem Inhalt
|
||||||
|
int dynamicHeight = measureContentHeight();
|
||||||
|
height = dynamicHeight;
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
class FocusCursor : public Focus {
|
class FocusCursor : public Focus {
|
||||||
|
Loading…
Reference in New Issue
Block a user