mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-11 20:35:50 +00:00
added GetDefaultColumnWidth(), replacing a hardcoded #define
This commit is contained in:
parent
c2a011eb49
commit
096cf35713
@ -65,6 +65,8 @@ protected:
|
||||
nsHTMLReflowMetrics& aDesiredLayoutSize,
|
||||
nsSize& aDesiredWidgetSize);
|
||||
|
||||
PRInt32 GetDefaultColumnWidth() const { return (PRInt32)(20); } // this was DEFAULT_PIXEL_WIDTH
|
||||
|
||||
|
||||
|
||||
/* ---------- abstract methods derived class must implement ---------- */
|
||||
|
@ -65,6 +65,8 @@ protected:
|
||||
nsHTMLReflowMetrics& aDesiredLayoutSize,
|
||||
nsSize& aDesiredWidgetSize);
|
||||
|
||||
PRInt32 GetDefaultColumnWidth() const { return (PRInt32)(20); } // this was DEFAULT_PIXEL_WIDTH
|
||||
|
||||
|
||||
|
||||
/* ---------- abstract methods derived class must implement ---------- */
|
||||
|
Loading…
Reference in New Issue
Block a user