Zum Inhalt springen
View in the app

A better way to browse. Learn more.

Fachinformatiker.de

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Buttons in ScrollPanes

Empfohlene Antworten

Veröffentlicht

...langsam hab ich hier nen scrollPANE IN THE ASS...

Folgendes: Ich möchte mehrere Buttons in ein Scrollpane reinlegen. Das funktioniert so nicht, da ein Button gleich automatisch den gesamten Bereich ausfüllt. Aaalso hab ich flugs nen container kreiert, dem ich Layout zuweisen kann und den Container ins Scrollpane geschmissen- funzt. Leider isset aber ein Applet und funzt eben nicht im Explorer: Security und hasse nich gesehen. (kann generell keine Containys anlegen)

Hatte vielleicht jemand ein ähnliches Problem oder auch ne Lösung?

Zur Verdeutschlichung ein wenige Code:


ScrollPane iconbar = new ScrollPane();
Button test1 = new Button();
Button test2 = new Button("test2");
iconbar.add(test1);
iconbar.add(test2);
iconbar.setLocation(250,470);
iconbar.setSize(400,80);
iconbar.doLayout();
this.add(iconbar,null);
[/php]

Code ist so nicht ausführbar und benötigt noch einen Applet-Rumpf.

Danke für jede Hilfe.

Hat jemand nen *plönk* für mich?

Des Fehlers Lösung war, das ganze natürlich auf einen Panel zu packen und nicht in einen Container... ~plönk~ ...ist aber auch warm.

...vielleicht kann man den thread ja recyclen?...

Archiv

Dieses Thema wurde archiviert und kann nicht mehr beantwortet werden.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.