I am building some realtime report for a customer which is to be put up on a large LCD
screen. The report screen consists of a ListCtrl_virtual. I tried SetFont on the Ctrl,
but that didn't work.
The customer says he does not want to enlarge the font in windows, because it looks very bad.
I don't have access to such a large screen.
Is there a way I can enlarge all fonts in one go for my app?
Not really. Most widgets will 'inherit' the font set on their parent at the time that the widget is created, but it is not perfect.
···
On 4/16/12 2:03 PM, Antonio Gom�z Soto wrote:
Hi,
I am building some realtime report for a customer which is to be put up on a large LCD
screen. The report screen consists of a ListCtrl_virtual. I tried SetFont on the Ctrl,
but that didn't work.
The customer says he does not want to enlarge the font in windows, because it looks very bad.
I don't have access to such a large screen.
Is there a way I can enlarge all fonts in one go for my app?
I am building some realtime report for a customer which is to be put up on a large LCD
screen. The report screen consists of a ListCtrl_virtual. I tried SetFont on the Ctrl,
but that didn't work.
The customer says he does not want to enlarge the font in windows, because it looks very bad.
I don't have access to such a large screen.
Is there a way I can enlarge all fonts in one go for my app?
Not really. Most widgets will 'inherit' the font set on their parent at the time that the widget is created, but it is not perfect.
Robin,
do you have some recommendation? I am using listctrl and lictrl_virtual almost exclusively,
so enlarging those might me get to 95% of what I want to accomplish
The wx documentation says: “by default, all windows use their own default attributes. However if some of the parents attributes are explicitly (that is, using SetFont and not SetOwnFont) changed and if the corresponding attribute hadn’t been explicitly set for this window itself, then this window takes the same value as used by the parent.” So I’m wondering how your code can have a different effect to simply saying:
The wx documentation says: "by default, all windows use their own default
attributes. However if some of the parents attributes are explicitly (that
is, using SetFont and not SetOwnFont) changed and if the corresponding
attribute hadn't been explicitly set for this window itself, then this
window takes the same value as used by the parent." So I'm wondering how
your code can have a different effect to simply saying:
parent.SetFont(...)
Ah, I didn't realise this was the behaviour of SetFont, that's pretty
useful! In that case, ignore my post
···
On 21 April 2012 23:44, Patrick Maher <patrick@maher1.net> wrote:
The parent's font must be set before the child is created, as that is when the attribute inheritance happens.
···
On 4/21/12 3:44 PM, Patrick Maher wrote:
Paul,
The wx documentation says: "by default, all windows use their own
default attributes. However if some of the parents attributes are
explicitly (that is, using SetFont and not SetOwnFont) changed and if
the corresponding attribute hadn't been explicitly set for this window
itself, then this window takes the same value as used by the parent." So
I'm wondering how your code can have a different effect to simply saying:
Would it possible to use that recursive function to set the cursor of a
whole frame and all children after creation? ( .SetCursor with
wx.StockCursor object)
···
On 23 April 2012 17:38, Robin Dunn <robin@alldunn.com> wrote:
On 4/21/12 3:44 PM, Patrick Maher wrote:
Paul,
The wx documentation says: "by default, all windows use their own
default attributes. However if some of the parents attributes are
explicitly (that is, using SetFont and not SetOwnFont) changed and if
the corresponding attribute hadn't been explicitly set for this window
itself, then this window takes the same value as used by the parent." So
I'm wondering how your code can have a different effect to simply saying:
parent.SetFont(...)
The parent's font must be set before the child is created, as that is when
the attribute inheritance happens.