Page 1 of 1

StatusBarText(..., ..., ..., #PB_StatusBar_Right)

Posted: Wed Jun 24, 2009 10:56 am
by srod

Code: Select all

If OpenWindow(0, 0, 0, 440, 50, "StatusBar", #PB_Window_SystemMenu|#PB_Window_ScreenCentered|#PB_Window_SizeGadget)
  If CreateStatusBar(0, WindowID(0))
    AddStatusBarField(#PB_Ignore)
  EndIf
  StatusBarText(0, 0, "Area right!", #PB_StatusBar_Right) 
    
  Repeat
  Until WaitWindowEvent() = #PB_Event_CloseWindow
EndIf
On my system (Vista 32, PB 4.31) the status bar text is being truncated! Can someone else please confirm before I post a bug report?

Seems to be because of the #PB_Ignore flag.

Thanks.

**EDIT : I suspect this is a vista thing because of the 'sizing guide' and perhaps not a bug. Yes, remove the sizing box and it is fine. Is it a bug that PB does not account for this when a window with a sizing box is not maximized?

Re: StatusBarText(..., ..., ..., #PB_StatusBar_Right)

Posted: Wed Jun 24, 2009 11:07 am
by c4s
srod wrote:**EDIT : I suspect this is a vista thing because of the 'sizing guide' and perhaps not a bug. Yes, remove the sizing box and it is fine. Is it a bug that PB does not account for this when a window with a sizing box is not maximized?
It's the same on XP and I think it's a bug that should be fixed ;)

Posted: Wed Jun 24, 2009 11:11 am
by srod
Yes, I think PB is responsible for keeping tabs upon the width of the statusbar parts and thus it would indeed appear to be a bug! :)

Posted: Wed Jun 24, 2009 12:38 pm
by Shardik
No problem for AndLinux (Ubuntu 9.04) runnning with a modified kernel as a task in Windows XP::lol:
Image

Posted: Wed Jun 24, 2009 12:40 pm
by srod
Who the bloody hell cares about Linux! :wink:

:twisted:

Posted: Wed Jun 24, 2009 7:23 pm
by Trond
It's a bug in my opinion. I can confirm it as well.