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:

giannimaione

Well-Known Member
Licensed User
Longtime User
another question / doubt

how secure is pocketbase?
if a geek (bad boy) sniffs the traffic, is he able to wipe / destroy the database?

what are the rules to have pocketbase on the vps in a safe way?
API RULES? esempio
 

Mashiane

Expert
Licensed User
Longtime User
another question / doubt

how secure is pocketbase?
if a geek (bad boy) sniffs the traffic, is he able to wipe / destroy the database?

what are the rules to have pocketbase on the vps in a safe way?
API RULES? esempio
Im sure you can get your answers from their website, here is the link again, https://pocketbase.io/

They have a github account that you can also ask questions or raise issues if need be.
 

Mashiane

Expert
Licensed User
Longtime User
A question about the list view. Is it possible to change the height of the individual entries?
The SDUITable can now be used as a listview, see when you click the "Table ListView" example. The height will depend on the items in the row. Fortunately, you can size the table column component by specifying its size.

1688554838302.png



1688555027206.png


I will play around and see about changing the item height in the ListView.
 

sdleidel

Active Member
Licensed User
Longtime User
FullCalendar
Can you add 2 or more events ?

if you move an entry and if you virtually make a new one with the mouse? When pulling down with the mouse.
Or make it touch compatible. Long press to add a new event…
And /or an event when you click on an empty area so that you can enter a new appointment?
And a event when dropping a event to a different day or time…
How do I find out what I have marked?
Any news ?
I need this calendar for my project.
 

Mashiane

Expert
Licensed User
Longtime User
Or make it touch compatible. Long press to add a new event…

And a event when dropping a event to a different day or time…

Any news ?
I need this calendar for my project.
New Events Added..

B4X:
#Event: EventDrop (args As Map)
#Event: EventResize (args As Map)
#Event: Drop (args As Map)
#Event: DateClick (args As Map)
#Event: Select (args As Map)


 

sdleidel

Active Member
Licensed User
Longtime User

asales

Expert
Licensed User
Longtime User
I update to SithasoDaisy 2 and this piece of code broke my page.
In previous version works fine.
What is wrong?
B4X:
Dim dt1Options As RollDateOptions = app.InitRollDateTime
dt1Options.beginYear = 1900
dt1Options.endYear = 2050
dt1Options.Cancel = "Cancel"
dt1Options.Confirm = "Confirm"
dt1Options.Title = "Select Date"
dt1Options.DateTimeFormat = "DD/MM/YYYY"
txtDate = page.Cell(7, 3).AddRollDateTime("txtDate", "Birthday Date / Activity Date", "", "", "", dt1Options)
txtDate.Placeholder = "DD/MM/YYYY"
 

Mashiane

Expert
Licensed User
Longtime User
I update to SithasoDaisy 2 and this piece of code broke my page.
In previous version works fine.
What is wrong?
B4X:
Dim dt1Options As RollDateOptions = app.InitRollDateTime
dt1Options.beginYear = 1900
dt1Options.endYear = 2050
dt1Options.Cancel = "Cancel"
dt1Options.Confirm = "Confirm"
dt1Options.Title = "Select Date"
dt1Options.DateTimeFormat = "DD/MM/YYYY"
txtDate = page.Cell(7, 3).AddRollDateTime("txtDate", "Birthday Date / Activity Date", "", "", "", dt1Options)
txtDate.Placeholder = "DD/MM/YYYY"
Did you read the upgrade guide that came with the download?

This is a plugin and now needs to be chosen in the "libraries manager". See this example.

1691232604493.png


and the update of pgIndex Initialize

1691232653312.png





There is no need to rush and use V2 if you are not ready yet. You can see how the demo example has been updated to use V2.

All the best
 

asales

Expert
Licensed User
Longtime User
Did you read the upgrade guide that came with the download?

This is a plugin and now needs to be chosen in the "libraries manager". See this example.

View attachment 144469

and the update of pgIndex Initialize

View attachment 144470




There is no need to rush and use V2 if you are not ready yet. You can see how the demo example has been updated to use V2.

All the best
I updated the pgIndex, but forget the lib.
Solved. Thanks!
 

asales

Expert
Licensed User
Longtime User
Will see if we can get a print version with the next update.
I saw that it generate a image of the QRCode.
I just need to figure out how to save this image using a button (and not using the popup menu 'Save Image As').
 
Last edited:

asales

Expert
Licensed User
Longtime User
Other question:
- How to resize the QRCode in code?
I saw the code in demo to "AD QRCode" using the designer and I can change then size of the SDUIQRCode component in the designer.

In the "QRCode - Code" of the demo, the QRCode component is add in this way:
B4X:
qrcode1.AddQRCode(Me, page.Cell(3, 1).Name, "qrcode1")
How can I resize it?

Thanks for your support.
 

asales

Expert
Licensed User
Longtime User
Hi @Mashiane.
I want to create a single page with the FullCalendar component (or the EVOCalendar).
I used the SithasoFree template and add the libs.
I checked the SithasoDaisyDemo too and the PDF ebook, but I don't know what I do wrong or am I missing. Only the progress in color is show.
My example project is in attach.
Thanks for your help.
 

Attachments

  • project1.zip
    22.5 KB · Views: 116

Mashiane

Expert
Licensed User
Longtime User
Other question:
- How to resize the QRCode in code?
I saw the code in demo to "AD QRCode" using the designer and I can change then size of the SDUIQRCode component in the designer.

In the "QRCode - Code" of the demo, the QRCode component is add in this way:
B4X:
qrcode1.AddQRCode(Me, page.Cell(3, 1).Name, "qrcode1")
How can I resize it?

Thanks for your support.

Please find solution on the updated demo. Please ensure you update the b4xlib collections also, 2 libs were updated.


1691322326303.png
 

Mashiane

Expert
Licensed User
Longtime User
Hi @Mashiane.
I want to create a single page with the FullCalendar component (or the EVOCalendar).
I used the SithasoFree template and add the libs.
I checked the SithasoDaisyDemo too and the PDF ebook, but I don't know what I do wrong or am I missing. Only the progress in color is show.
My example project is in attach.
Thanks for your help.
All projects need JQuery loaded.

So you need to add this line first

B4X:
BANano.Await(app.UsesJQuery)

Also becase you will just use 1 page in your app, you can just do everything in pgIndex and load your layout to the body of the app and not pageviewer.

Also remember, for most components you place on the designer, you need to specify the parentID, thus, parentID of page=body, parentid of fullcalendar=page1 (pageName) etc.

1691328214296.png
 

Attachments

  • Projeto2.zip
    7.6 KB · Views: 108

asales

Expert
Licensed User
Longtime User
All projects need JQuery loaded.

So you need to add this line first

B4X:
BANano.Await(app.UsesJQuery)

Also becase you will just use 1 page in your app, you can just do everything in pgIndex and load your layout to the body of the app and not pageviewer.

Also remember, for most components you place on the designer, you need to specify the parentID, thus, parentID of page=body, parentid of fullcalendar=page1 (pageName) etc.
Thanks! I understand now. It worked fine.
 
Top