I am trying to decide which font size should I use for buttons, titles, tabs, etc. I know I have to use namedSizes in order to make the text dynamic.
I also know the definitions and recommendations given by Microsoft in the documentation (https://learn.microsoft.com/en-us/dotnet/api/xamarin.forms.namedsize?view=xamarin-forms)
but when I implement them there are ultimately only 4 or 5 sizes and multiple namedSizes always display the same sizes no matter the configuration specified in the phone's settings.
For example, Header, medium, and Default set the same text size, Large and Title also do the same.
I feel that there is something I am missing, could someone tell me if there is any real difference between these namedSizes?
Thank you for your time.
this is explicitly covered in the docs
Member iOS Android UWP
Default 17 14 14
Micro 12 10 15.667
Small 14 14 18.667
Medium 17 17 22.667
Large 22 22 32
Body 17 16 14
Header 17 96 46
Title 28 24 24
Subtitle 22 16 20
Caption 12 12 12
Related
My colleague and I am designing a survey using Qualtrics. On one page respondents must move a series of sliders.
We need to display the output of a function of the values of the sliders on the same page, ideally also in the form of another slider.
All of this must be done while the respondent moves the sliders.
Concretely, suppose the following:
value of slider 1 = 30;
value of slider 2 = 10;
value of slider 3 = 0
Output to be displayed = 30 x 20 + 10 x 5 + 0 x 15 = 650
where the 20, 5 and 15 are just arbitrary constants in the background.
If the user were to move slider 1 to 31, the displayed output should automatically update in real time to 670.
Any tip on how this is done? We're newbies to qualtrics and completely inexperienced with Java, so we'd be very grateful to anyone willing to provide us with working code. Thanks!
An update on my question, and a clarification after a comment received.
We were of course not asking for someone else to do our job. Just for a pointer in the right direction.
Based on an answer to a different question, I've managed to put this javascript together. It works, which is encouraging..
Code follows.
Qualtrics.SurveyEngine.addOnReady(function()
{
/*Place your JavaScript here to run when the page is fully displayed*/
var that=this.questionId;
jQuery("<p style='width:100%'><br><strong> Output <span id='OUT'>0</span></strong>").insertAfter("table.sliderGrid");
jQuery(document).on('change', function(){
var firstslider=parseInt(jQuery("[id='"+that+"~1~result']").val());
var secondslider=parseInt(jQuery("[id='"+that+"~2~result']").val());
var N=firstlider+secondslider*2;
jQuery("#OUT").text(N);
});
We've implemented DatePickerIOS from react-native but it doesn't seem to respect the device locale for dates.
I'm in Norway right now, and it is correctly showing a 24 hour picker without AM/PM, but the text still says "Today", "Thu 5 Oct", "Fri 6 Oct". It should be more like "I dag", "Tor 5 Okt", "Fre 6 Okt"
RN version 0.47.1
open 'Info.plist' file in 'ios' folder using Xcode or other text editors, change 'CFBundleDevelopmentRegion' to your locale's name, then retry
I am fairly new to SQL FTI and I am trying to perfect a search against a table with millions of different product items.
If I pass a search such as this:
select top 100 * from OMG_ProductFeeds.dbo.tbl_products
where CONTAINS(ProductName,'"apple iphone 6"')
I get these results back:
Acm Rich Leather Soft Carry Case For Apple Iphone 6 Mobile Handpouch Holder Cover - Black
Apple iPhone 6 - 16 GB
Apple iPhone 6 Plus - 64 GB
Apple iPhone 6 - 64 GB
Apple iPhone 6 Plus - 16 GB
Chevron Set Of 3 Ultra Clear Screen Guard + 3 Matte Finish Screen Guard For Apple Iphone 6 - Combo Offer
Softy Back Cover Case For Apple Iphone 6 - Golden
Chevron Ultra Clear Hd Finish Screen Guard Protector For Apple Iphone 6 (pack Of 5)
I want to be able to include actual iphone 6 phones but ignore any of the peripherals such as cases and screen protectors but I am not sure how to do this.
Any advice is appreciated.
Thanks
You may consider re-designing your DB structure with a extra table - tbl_product_categories.
In tbl_products we can add a foreign key column to reference the corresponding category from tbl_product_categories. So that you can filter only certain category with certain keyword.
SELECT TOP 100 *
FROM OMG_PRODUCTFEEDS.DBO.TBL_PRODUCTS
WHERE CONTAINS(PRODUCTNAME,'"APPLE IPHONE 6"')
AND product_category_id = 1;
I am using Live search Combo feature in my project.
Here is the URL.
http://docs.sencha.com/ext-js/4-0/#!/example/form/forum-search.html
for this component there is limit of 4 character
"Live search requires a minimum of 4 characters"
Can We modify this 4 character to 1 character?
Of course we can
Ext.create('Ext.form.ComboBox', {
// Config options
minChars: 1
});
http://docs.sencha.com/ext-js/4-1/#!/api/Ext.form.field.ComboBox-cfg-minChars
I have a jsp page that has pagination links below to call page by page data from the database.. The links look like this
<< Previous 1 2 3 4 5 6 7 8 9 10 11 Next >>
< a href="getnext.jsp?min=<%=val2%>&max=<%=val1%>> <%=i%> </a> (for link 1)
(where (min=0, max=10) and i = 1 ..The rownum and page index respectively )
The challenge is that this page can have up to 2400 links/pages and i do not wish to create all those links at once. A better implementation would be When the next button is click I want to dynamically create the next set of links say 12 to 20.
Any ideas on how to go about doing this? Thanks
Take a look at DisplayTag. It will set everything up for you, and is highly configurable. A particularly nice feature is that it gives you the option to let it handle slicing up your results, or for you to do it for better performance with large data sets; see the page on external paging and sorting.