|
|
Home » U++ Library support » U++ Widgets - General questions or Mixed problems » class Upp::DropList has no member named SetFont
class Upp::DropList has no member named SetFont [message #7836] |
Thu, 25 January 2007 12:01 |
paolo
Messages: 11 Registered: January 2007
|
Promising Member |
|
|
Heya guys,
and thanks for your time.
I've been unlucky finding a way to set the font size of a DropList or the button size of an EditIntSpin.
I'm trying to prototype an application that'll be used (it's just an University's exam project) with a touchscreen and I need to select a date and a time.
The Data selection is done thanks to the beautiful Calendar where the selection happens also when you click around the number of the day (think about the "imprecision" of a touchscreen).
About the Time selection (hours and minutes) both the DropList and the EditIntSpin don't play very well with the touchscreen because the DropList can't have a bigger fontsize and the EditIntSpin can't have the button increased in size (while in the layout editor the two button grow when I extend the size of the object).
So here I am in need of your help: how can achieve a Time selection with the "limits" of a touchscreen?
Thanks a lot,
P.
|
|
|
|
|
|
|
|
|
Re: class Upp::DropList has no member named SetFont [message #7917 is a reply to message #7915] |
Wed, 31 January 2007 13:25 |
|
mirek
Messages: 13984 Registered: November 2005
|
Ultimate Member |
|
|
paolo wrote on Wed, 31 January 2007 05:42 |
luzr wrote on Sat, 27 January 2007 17:29 |
DropList& DropList::SetDropLines(int d);
?
Mirek
|
Thanks Mirek,
but it's a "problem" of accessibility. If I fix the number of the lines of the Droplist, then I've got the scrollbar and that's too thin to be used from a touchscreen. I should be able to widen that scrollbar too.
But I've thinked about that hour&min selection and I've choosen for two handmade EditIntSpin (a big label between two big buttons, a "+" and a "-"), because I can't enlarge the buttons of the "standard" EditIntSpin (and my solution is more accessible).
Thanks again,
P.
|
Yes, actually, "make your own widget" is often the best solution.
Mirek
|
|
|
Goto Forum:
Current Time: Mon Jun 10 12:44:43 CEST 2024
Total time taken to generate the page: 0.02027 seconds
|
|
|