B4J Tutorial SithasoDaisy TailwindCSS UI Toolkit: Q & A

Hi there

NB: Where possible, please include a simple project that demonstrates your use case.

Do you have any questions about SithasoDaisy UI Toolkit?

You can shoot it here and we will oblige.

Thanks in advance?


Join on Telegram


Check $5 WebApps

 
Last edited:

sdleidel

Active Member
Licensed User
Longtime User
It's possible however it will mean a new component will have to be developed for this. There is a Banano library in the forum that works with LeafLet maps which can be used also. Not sure if settings allow that to use openstreetmaps
And this…. ?
As example ?
Test
 

giannimaione

Well-Known Member
Licensed User
Longtime User
two question;

first)
i make a Table (SDUITable) via code:
How to set column header Height?

second)
i make a modal (SDUIModal) via code:
How to set Width and Height to max view?
 

Mashiane

Expert
Licensed User
Longtime User
How to set Width and Height to max view?
1727976897980.png

Both should be full. This applies to the abstract designer and code

B4X:
mdl.Width = "full"

mdl.Height = "full"
 

giannimaione

Well-Known Member
Licensed User
Longtime User
about SDUIStats
B4X:
'Dim stats1 As SDUIStats
stats1.AddItem("pageviews", "Total Page Views", "89, 400", "21% more than last month")
stats1.AddItem("pageviews", "User Views", "12, 340", "+15% more than last month")
stats1.AddItem("pageviews", "New add User", "75, 350", "plus & more")
Is it possible to find out which one has been chosen by clicking?
B4X:
Private Sub stats1_Click (e As BANanoEvent)
'Is it possible to find out which one has been chosen by clicking?
End Sub
 

Mashiane

Expert
Licensed User
Longtime User
about SDUIStats
B4X:
'Dim stats1 As SDUIStats
stats1.AddItem("pageviews", "Total Page Views", "89, 400", "21% more than last month")
stats1.AddItem("pageviews", "User Views", "12, 340", "+15% more than last month")
stats1.AddItem("pageviews", "New add User", "75, 350", "plus & more")
Is it possible to find out which one has been chosen by clicking?
B4X:
Private Sub stats1_Click (e As BANanoEvent)
'Is it possible to find out which one has been chosen by clicking?
End Sub
You need to use AddItemActionButton on each item you want clickable. See the Demo Source Code for an example of that.
 

Mashiane

Expert
Licensed User
Longtime User

Mashiane

Expert
Licensed User
Longtime User
Any News ? (-;
Without having to re-invent the wheel, this is another perfect example of how to use Leaflet maps in BANano.


Just add a SDUIDiv / SDUILabel in your layout on your SithasoDaisy project and then use that as a target for your map.
 

sdleidel

Active Member
Licensed User
Longtime User
Without having to re-invent the wheel, this is another perfect example of how to use Leaflet maps in BANano.


Just add a SDUIDiv / SDUILabel in your layout on your SithasoDaisy project and then use that as a target for your map.
Can you please make a Sample Project ?
 

giannimaione

Well-Known Member
Licensed User
Longtime User
I am not able,
can this code, download my pdf file from website ?
B4X:
SDUIShared.Download("https://www.mywebsite.com/public/pdf/about.PDF", "result.pdf")

or, is there another solution?
 
Top